Anodizing increases the thickness of the oxide layer on metals like aluminum, protecting the metal from further oxidation and corrosion.