Stainless steel is primarily an alloy of iron, chromium, and carbon. Chromium (minimum 10.5%) provides corrosion resistance by forming a protective oxide layer. Nickel is added to some grades (like 304 and 316) for additional properties, but isn't essential to all stainless steels.