electrolysis: the input of electrical energy as a direct current to force a nonspontaneous reaction to occur.