Electrolysis is the process of converting water (H2O) into hydrogen (H+) and hydroxide (OH-) ions by introducing an electric current into it. As the ions migrate to the opposing electrodes, pure gases of oxygen (O2) and hydrogen (H2) are released.These electrolytes include sodium nitrate salt (NaNO3) and sulfuric acid (H2SO4).