Answer:
Explanation:
Magnesium and oxygen forms ionic bonds between them. In the formation of an ionic bond, a metal will lose an amount of electron to the non - metal. This way two ions are produced and the electrostatic attraction between the two ions results in the formation of the ionic bond.
Magnesium : 2 8 2
Oxygen : 2 6
For magnesium to be stable and be isoelectronic with neon, it must lose two electrons to form an ion:
Mg → Mg²⁺ + 2e⁻
For oxygen to be stable it must gain two electrons:
O + 2e⁻ → O²⁻
Mg²⁺ + O²⁻ → MgO
So the attraction between the ions results in the formation of the MgO.