Na and Mg with water
2Na + 2H₂O → 2NaOH + H₂
Sodium: vigorous reaction; the metal moves on the surface and hydrogen is evolved.
Mg + 2H₂O → Mg(OH)₂ + H₂
Magnesium + cold water: much slower; a coating of Mg(OH)₂ can inhibit further reaction.
Mg + H₂O(g) → MgO + H₂
Magnesium + steam: much more vigorous and produces magnesium oxide.