Molecules are held together because of the positive and negative parts of an atom. With water, the positively charged oxygen atoms are attracted to the negatively charged hydrogen atom which forms a hydrogen bond. Hope this helps :) I added a little extra info in case you wanted it!