Define electrolysis.

Electrolysis is the conduction of electricity by an ionic compound (an electrolyte), when molten or dissolved in water, leading to the decomposition of the electrolyte.