Electrolysis of water is the decomposition of water (H2O) into oxygen (O2) and hydrogen gas (H2) due to an electric current being passed through the water.
This technique can be used to make hydrogen fuel (hydrogen gas) and breathable oxygen; for drinking water to test the water TDS value.