The two dissimilar metals may be totally different alloys – such as steel and aluminum – but are more likely to be microscopic or macroscopic metallurgical differences on the surface of a single piece of steel. In this case we will consider freely-corroding steel, which is non-uniform.
If the above conditions exist, the following reaction takes place at the more active sites: (two iron ions plus four free electrons).