Water molecules bond with each other through hydrogen bonding. This type of bonding is a strong one as compared to other intermolecular forces present. The partial positive of the oxygen attracts the partial positive of the hydrogen so they bind to each other. In this way, they act as little magnets.