When the plant opens its stomata to let in carbon dioxide, water on the surface of the cells of the spongy mesophyll and palisade mesophyll evaporates and diffuses out of the leaf. This process is called transpiration.
Water is drawn from the cells in the xylem to replace that which has been lost from the leaves.
Water molecules inside the xylem cells are strongly attracted to each other. There is strong cohesion between the molecules because of hydrogen bonding. A continuous column of water is therefore pulled up the stem in the transpiration stream by evaporation from the leaves.
As water travels through the xylem in the stem and leaf, it is being replaced by water taken up by the roots.
Transpiration is an unavoidable consequence of photosynthesis - only five per cent of the water taken up by the plant is used for photosynthesis - but does have its purposes:
Root hairs are single-celled extensions of epidermal cells in the root. They grow between soil particles and absorb water and minerals from the soil.
Water enters the root hair cells by osmosis. This happens because soil water has a higher water potential than the cytoplasm of the root hair cell. Minerals enter by active transport.
A summary of water uptake, water transport and transpiration: