Electrolytic cells convert electrical energy into chemical potential energy.
And the process is known as electrolysis.
The purpose of this is usually to convert reactants into more useful products.
Electrolytic cells are one of two major categories of electrochemical cells.