Electrolysis is a process that uses electric current to break down compounds into their elements. It is used to extract metals like sodium and aluminum from their compounds.