What is the equation when iron reacts with oxygen to produce iron(III) oxide ?
Balance for the electrons.
The smallest common product of 3 and 4 is 12.
So we get:
The electrons balance so they cancel out:
Pure iron won't rust, because the oxide layer would form a protective skin (as aluminium does). It needs some impurities (mainly carbon) and, apart from the oxygen, some moisture -- even carbondioxide 'helps'. In that case iron-hydroxy-oxides and -carbonates are formed, and these flake, no longer protecting the iron underneath.
Meneer has written an excellent answer so I will add some information which he has referred to in his extra paragraph.
Rusting is fastest when iron and steel is exposed to a combination of air and water and is also affected by impurities in the iron and the presence of other electrolytes.
Rusting is an electrochemical process. Cells are set up in the metal surface where different areas act as sites of oxidation and reduction.
The two half - cells are:
The most positive half - cell is the one which will take in electrons so you can see that
The diagram shows what happens when a drop of water is left in contact with iron or steel:
At the edge of the drop where the concentration of dissolved oxygen is higher, oxygen is reduced to hydroxide ions:
The electrons needed to do this flow in from the oxidation of iron at the centre of the drop. (Known as "pitting"). Here the