When you run an electrical current through liquid water, the water molecules are split apart to form oxygen and hydrogen gas. This transfer of energy caused a change to the bonds of water. Electrolysis of water will happen where water decompose to hydrogen gas and oxygen gas.