Redox and galvanic cells
In a redox reaction one species loses electrons (oxidation) and another gains them (reduction), and separating the halves into a cell drives the electrons through a wire with voltage from the difference in reduction potentials.
From General Chemistry.