Metals react with water to form oxides or hydroxides with release of hydrogen gas.
1. Sodium and potassium react vigorously even with cold water producing hydroxides with release of enormous heat.
2. Magnesium does not react with cold water, but reacts with hot water or steam to form magnesium oxide.
3. Aluminium reacts with water to form a thin layer of aluminium oxide on it. This thin coating of aluminium oxide on aluminium acts as a barrier and stops further reactions.
From the above examples, we can say that sodium and potassium are highly reactive, magnesium is less reactive and aluminium is least reactive. This shows that different metals have different reactivities with water.