Corrosion is the process of deterioration of a metal as a result of a chemical reaction with its environment.