The main ingredient in water is hydrogen and oxygen. Water molecules are composed of two hydrogen atoms bonded to one oxygen atom, giving it the chemical formula H2O.