Galvanic cells, are used to measure the potential difference, between the potentials of two electrodes that dip into the same solution, or more usefully, are in two different solutions. In the latter case, each electrode-solution pair constitutes an oxidation-reduction half cell, and we are measuring the sum of the two half-cell potentials.