Zinc coatings prevent corrosion of the protected metal by forming a physical barrier, and by acting as a sacrificial anode if this barrier is damaged. When exposed to the atmosphere, zinc reacts with oxygen to form zinc oxide, which further reacts with water molecules in the air to form zinc hydroxide. Finally zinc hydroxide reacts with carbon dioxide in the atmosphere to yield a thin, impermeable, tenacious and quite insoluble dull grey layer of zinc carbonate which adheres extremely well to the underlying zinc, so protecting it from further corrosion, in a way similar to the protection afforded to aluminium and stainless steels by their oxide layers.