The atoms in a water molecule are held together by covalent bonds. This means that the bonded atoms share electrons in order to form a stable molecule. In water, the oxygen atom shares two of its electrons with each of the two hydrogen atoms, resulting in a total of four shared electrons. This sharing of electrons creates a strong bond between the oxygen and hydrogen atoms, holding the water molecule together.