Electrochemical energy storage systems convert chemical energy into electrical energy and vice versa through redox reactions. There are two main types: galvanic cells which convert chemical to electrical energy, and electrolytic cells which do the opposite. A basic electrochemical cell consists of two electrodes separated by an electrolyte. Primary cells cannot be recharged, while secondary cells are rechargeable through reversible chemical reactions. Lithium-ion batteries have become widely popular due to their high energy density and lack of memory effect.