Rust is what happens when iron and other metals meet air and water, turning reddish-brown and making metal weaker, so we protect it.
Rust is a type of iron compound formed when iron meets oxygen and water. It is often soft, flaky, and reddish-brown, and it can spread and damage metal as it flakes away.
Rusting is an electrochemical process where iron loses electrons (oxidation) and becomes Fe2+, while oxygen (with help from water) gains electrons. Water and salt make this movement faster, so wet or salty places rust more quickly than dry places.
Coatings such as paint, varnish, wax, and oils act as shields to keep wet air and salt away from iron and steel. If the coating fully covers the metal, rust slows down or stops, but scratches or gaps can let rust start again.
Galvanization means putting a layer of zinc onto steel to protect it. The zinc rusts first (sacrificial protection), so the steel stays safe, and even scratched zinc around the spot can keep protecting the steel.
Cathodic protection stops rust by giving the metal a small electrical push so it does not corrode. It can use a sacrificial anode, or a small electric current from a power source, and the sacrificial piece must be changed when used up.
Keeping air dry helps a lot because humidity speeds rust. For small gear, silica gel packets keep moisture low, and in sealed systems, corrosion inhibitors slow rust, though they work best when the space is closed.