Transpiration is caused by the evaporation and diffusion of water from a plant's surface. Most transpiration happens at the leaves. This evaporation creates a slight shortage of water in the leaf, and so more water is drawn up from the rest of the plant through the xylem vessels to replace it. This in turn means more water is drawn up from the roots, and so there's a constant transpiration stream of water through the plant.