Electrolysis of water is a process that uses an electrical current to split water molecules (H2O) into their constituent elements, hydrogen (H2) and oxygen (O2). This reaction takes place in an electrolytic cell, which consists of two electrodes submerged in water, typically with an electrolyte to enhance conductivity.