Question: what happens when electrolysis is carried out in water
Answer: decomposition of water into oxygen and hydrogen gas