Electrochemistry is the study of the relationship between electricity and chemical reactions, encompassing processes that generate electricity through spontaneous chemical reactions and those that apply electrical energy to drive non-spontaneous reactions. Key components of electrochemical cells include electrodes, electrolytes, and salt bridges, with applications in electroplating and electrorefining of metals such as copper. Electroplating is utilized for corrosion resistance and aesthetic enhancement, while electrorefining purifies metals to achieve high purity levels required for electrical applications.