An electrolytic cell converts electrical energy from an external voltage source into chemical energy that drives a reaction.
The external voltage source is usually a battery. This energy form generated from the battery helps to drive chemical reactions.
The process involves the decomposition of an ionic compound by means of current passed into the aqueous or molten form of the compound through conductors known as electrodes.
Water is a molecular compound consisting of polar molecules that have a bent shape. The oxygen atom acquires a partial negative charge while the hydrogen atom acquires a partial positive charge.