The gain of one or more electrons by an atom or group of atoms in a chemical reaction such asĀ corrosion of metals.