Aluminum naturally forms an oxide layer on its surface when exposed to air. Anodizing in an electrolytic cell creates a thicker oxide layer that makes the part more resistant to corrosion and wear.
Aluminium is a useful material, both for its light weight and resistance to corrosion. This resistance can be improved further with various treatments, one of the more popular being anodizing.