Rust is a type of corrosion that occurs when metals, such as iron and steel, are exposed to water and oxygen over an extended period. When the metal comes into contact with these elements, it begins to break down and form an oxidized layer, the reddish-brown color known as rust.