It is a method to slow down the corrosion of metal by transforming the metal surface into a state that is not easy to be oxidized. In addition, the chemical activity of an active metal or alloy is greatly reduced and becomes a precious metals, also known as passivation.
Fundamental of Material Science -> Corrosion of materials