Water (H2O) can be called a molecule or a compound because it is made of hydrogen (H) and oxygen (O) atoms. There are two main types of chemical bonds that hold atoms together: covalent and ionic/electrovalent bonds. Atoms that share electrons in a chemical bond have covalent bonds.
So basically water is a polar molicule. So when it comes to the structure, water is able to form many hydrogen bonds and the way the atoms are able to bond together adds to the water's special properties.