The cathode and anode are separated by a chemical barrier called an electrolyte. When the cathode and anode are connected to a device, this creates a circuit, which results in a chemical reaction that generates positive ions and negative electrons at the anode. An opposite reaction takes place at the cathode.

