Rust is a reddish-brown compound that forms on the surface of iron in the presence of oxygen and moisture. Its chemical formula is Fe2O3, indicating the presence of two iron atoms and three oxygen atoms in the compound.