Metals lose electrons under certain conditions to attain a noble gas electron configuration. Magnesium has 12 electrons and its electron configuration is
1s² 2s² 2p6⁶ 3s²
When magnesium loses 2 electrons, it acquires the electron configuration of neon (10 electrons).
A lunar eclipse occurs at a full moon when Earth is directly between the moon and the sun. During a lunar eclipse, Earth blocks sunlight from reaching the moon.