Why doesn’t stainless steel rust?

The special chemistry of this shiny iron alloy creates a protective layer on its surface that prevents it from rusting.