Galvanic cells harness the electrical energy available from the electron transfer in a redox reaction to perform useful electrical work. The key to gathering the electron flow is to separate the oxidation and reduction half-reactions, connecting them by a wire, so that the electrons must flow through that wire.