Water produces hydrogen and oxygen in the ratio of (mole ratio):
We can see from the balanced equation, that the mole ratio of hydrogen to oxygen is 2:1 , both in the water molecule and in the reactants, hydrogen gas (H2) and oxygen gas (O2). The electrolysis of water causes the decomposition of water, (H2O), which produces hydrogen and oxygen.