Chapter: Elements of Group 1 and 2· Chemistry
Answer: Magnesium burns with a dazzling white light to form magnesium oxide, along with some magnesium nitride.
Air is mainly oxygen and nitrogen, and hot magnesium reacts with both:
\[\mathrm{2Mg + O_2 \xrightarrow{\Delta} 2MgO}\]
\[\mathrm{3Mg + N_2 \xrightarrow{\Delta} Mg_3N_2}\]
The white ash left behind is mostly MgO with a little \(\mathrm{Mg_3N_2}\). If water is added to the ash, the nitride gives ammonia (smell of ammonia):
\[\mathrm{Mg_3N_2 + 6H_2O \rightarrow 3Mg(OH)_2 + 2NH_3}\]