Electrosynthesis is the synthesis of chemical compounds through electrochemical reactions in an electrochemical cell. It has advantages over ordinary redox reactions like avoiding undesired side reactions and precisely controlling reaction potentials. The basic experimental setup involves a galvanic cell, potentiostat, and electrodes. Common reactions include anodic oxidations and cathodic reductions. Electrosynthesis has applications in producing inorganic/organic compounds, batteries, water treatment, and more. It is an important industrial process, for example in chlor-alkali production and aluminum refining.