Water molecules are charged and have an electrical attraction to each other. When water molecules leave through the stomata in the leaves, they pull up the next water molecules in line. Each water pulls up the water below it, all the way from the roots.
Hope this helped.