Rust can be considered the most common type of corrosion. When iron is exposed to oxygen, a chemical reaction will…