The answer to this question would be:2 Mg + O2 = 2 MgO
Magnesium is a metal that can be oxidized easily. The reaction of magnesium and oxygen can be said as burning the magnesium. The reaction can provide a bright light with violet color. Magnesium used mostly in solid state and the oxygen is gas.