* Electron Configuration: Magnesium (Mg) has an electron configuration of 1s² 2s² 2p⁶ 3s². The outermost shell (3s) has only two electrons.
* Octet Rule: Atoms strive to achieve a stable configuration with a full outer shell of electrons, typically eight (the octet rule).
* Ionization: By losing its two 3s electrons, magnesium becomes a positively charged ion (Mg²⁺). The remaining electron configuration is 1s² 2s² 2p⁶, which is the same as neon, a noble gas with a full outer shell.
* Stability: This full outer shell is extremely stable, making the magnesium ion less reactive and more stable than the neutral magnesium atom.
In summary:
Losing two electrons allows magnesium to achieve the stable electron configuration of a noble gas, resulting in a more stable state.