The added chromium in stainless steel makes it more corrosion resistant than carbon steels. Carbon steel does not typically have enough chromium to form this chromium oxide layer, allowing oxygen to bond with the iron which results in iron oxide, or rust.