An electrochemical cell is a device that converts the free energy of a spontaneous redox reaction into electrical energy. It consists of two half-cells, each containing an electrode and an electrolyte solution, which are connected by an external circuit and an internal ionic conductor known as a salt bridge.