The equation for H20 is H2O= H2+02. Why are there 2 oxygens in the product

The equation for H2O is H2O= H2+O2. Why are there 2 oxygens in the product, when water is made of 2 hydrogens and only 1 oxygen?