The partially positive hydrogen atom of one molecule is then attracted to the oxygen atom of a nearby water molecule
A hydrogen bond in water occurs between the hydrogen atom of one water molecule and the lone pair of electrons on an oxygen atom of a neighboring water molecule.