Electrolysis is used for: | ClassNotes