Water is composed of these two elements - hydrogen and oxygen. When the two gases combine - which is called combustion, by the way - they form water. Now, depending on the temperature of the surroundings this reaction takes place, it can be either liquid or gas.