Which of the following processes takes place during electrolysis?