Electrolysis is a process in which an electric current is conducted through a liquid or solution containing ions, causing the compounds inside to disintegrate.