The cell generates O2 with the anode and H2 for the cathode; a separator content usually product of ceramics for instance zirconium oxide keeps the gases from mixing whilst making it possible for drinking water and ions to maneuver freely. A diagram of the solid oxide electrolysis cell. Credit rating: https://www.hovogen.com/pem-electrolyzer