What's this?
Reaction of Magnesium with Carbon Dioxide
Magnesium is placed in a cavity in a block of solid carbon dioxide (dry ice). The magnesium is ignited and covered by another block of dry ice. Despite the absence of air, the magnesium continues to glow, due to its reaction with carbon dioxide. The reaction products are white magnesium oxide (MgO) and black carbon (C).
2 Mg(s) + CO2(s) → 2 MgO(s) + C(s)