Answer explained
How are water and mineral salts transported in plants?
Root hairs absorb water from the soil, mainly by osmosis. Mineral ions are also absorbed, often by active transport.
Water and minerals enter the xylem vessels and tracheids. Evaporation of water from the leaves creates transpiration pull, which draws a continuous column of water upward. Cohesion between water molecules and adhesion to xylem walls help maintain the column; root pressure can also contribute.
Thus xylem carries water and dissolved minerals from roots to stems and leaves.