Electrochemistry is the study of chemical reactions caused by the passage of an electric current and the production of electrical energy from chemical reactions. It encompasses phenomena like corrosion and devices like batteries and fuel cells. Electrochemical cells are either electrolytic cells, where an external power source drives non-spontaneous reactions, or galvanic/voltaic cells, where spontaneous reactions produce electricity. The kinetics and rates of electrochemical reactions, as well as mass transfer of reactants, influence current production in fuel cells and other devices.