Corrosion of some metals is an advantage-
Example:
corrosion of aluminium is useful. Corrosion of Aluminium occurs when the metal is exposed to oxygen, according to the following reaction :
4 Al(s) + 3 O2 (g) → 2 Al2O3 (s)
Thus a protective layer of aluminium oxide is formed on the surface of the metal, which renders the metal passive and prevents its further corrosion.