Fig. 6: Sketch of the corrosion mechanism of steel caused by exposure to water.
From: Molecular modeling applied to corrosion inhibition: a critical review

The anodic and cathodic sites are adjacent, and at the pit’s edge, the rust is formed by different oxidized Fe compounds. Adapted from ref. 227 with authorization.