Water molecules contain two hydrogen atoms bonded to one oxygen atom

This causes the hydrogen atoms in one water molecule to be attracted to the oxygen atom in another water molecule. This attraction is known as hydrogen bonding.