The molten substance or solution where electrolysis occurs.
The electrolyte allows the molten or dissolved ions to move to the electrodes so that electrons can be donated or accepted