

It is explained by cohesion- tension theory. This is a theory of intermolecular attraction that explains the process of water flow upwards through the xylem of plants.
When sunlight strikes the plant , it results evaporation. This causes water to move up against the flow of gravity from stem to leaf, lowering the water potential in the stem.
