Corrosion is the gradual deterioration of metals caused by the action of air, moisture or a chemical reaction (such as…