2Mg + O2 → 2MgO
This equation shows the chemical reaction between magnesium (Mg) and oxygen (O2) to form magnesium oxide (MgO).