A molecule of water has a triangular shape

The electrons of the water molecule are attracted towards the oxygen atom.
As a result, the oxygen atom develops a partial negative charge and the hydrogen atoms develop a partial positive charge.

The water molecule is polar - it has a positive 'end' and a negative 'end'.