Movement of water through xylem in plants takes place by 3 ways.
1 Due to high concentration in the root hair cells, the water is pushed towards the xylem and the stem.
2 Xylem consists of tracheids, vessels, xylem parenchyma, and xylem fibres. Water moves into the xylem vessels by the capillary action. The water molecules get attracted to each other. As one molecule of water moves upwards it pulls the other molecule towards it. The molecules also get attracted to the walls of the xylem.
3 Transpiration force is the most effective force that causes water movement. Water evaporates from the leaf and escapes through the stomata, one molecule escapes pulling the other with it, and so on, creating a suction force.