Stainless steel resists corrosion thanks to the protective oxide layer that forms on its surface, known as a passive layer.