Here's how it works:
* Oxygen: Iron reacts with oxygen in the air to form iron oxide.
* Water: Water acts as a catalyst, speeding up the reaction. It also helps dissolve the iron oxide, creating the flaky, reddish-brown substance we know as rust.
So, while there isn't one specific compound that *makes* iron rust, it's a chemical reaction involving iron, oxygen, and water.