Explanation:
When magnesium metal burns is heated i the air it forms magnesium oxide.The balanced chemical reaction is given as:
[tex]2Mg+O_2\rightarrow 2MgO[/tex]
2 moles of magnesium metal when reacts with 1 moles of oxygen it gives 2 moles of magnesium oxide which is white in color.
Some times along with formation of magnesium oxide small amount of magnesium nitride also produced due to which magnesium oxide appears grey in color .The balanced chemical reaction is given as:
[tex]3Mg+N_2\rightarrow Mg_3N_2[/tex]
3 moles of magnesium combines with 1 mol of nitrogen gas to to give 1 mol of magnesium nitride.