Zinc is used as coating to protect iron and steel from corroding in the atmosphere, water and soil. This is because zinc reacts preferentially to iron in most environments to form protective layers of oxide, carbonate or other zinc reaction products that are resistant to subsequent corrosion by the atmosphere. Even if the coating is scratched it continues to corrode preferentially and protect the iron. Zinc is the sacrificial metal.