Water molecules form hydrogen bonds, which are intermolecular forces that arise due to hydrogen atoms being covalently bonded to highly electronegative atoms like oxygen. These bonds involve the partial positive charge of a hydrogen atom interacting with the partial negative charge of an electronegative atom, resulting in a weak electrostatic attraction that holds water molecules together.