Galvanized steel is coated with zinc to protect it from rust, while stainless steel is an alloy made with at least 10% chromium for the same reason: to guard against rust and corrosion.