Surface tension is caused by the attraction of the molecules on the surface by the rest of the molecules in the fluid. This force causes the surface area to be as small as possible.
This explains while water droplets are spherical. The sphere has the minimum surface area for a given volume.