Burning magnesium metal in air forms magnesium oxide which dissolves in water to form magnesium hydroxide.
Is Mg(OH)2 an acid or a base?
Acid   Base