Stainless steel is a type of steel. While iron is its main ingredient, its properties vary based on the amount of other components, like carbon and chromium.
Stainless steel contains less carbon and more chromium than carbon steel. Carbon steel can rust easily, but chromium helps prevent rust. This is why stainless steel is more resistant to rust and is very durable.