Xylem is the tissue of vascular plants that transports water and nutrients from the soil to the stems and leaves.
The main function of xylem is to transport water, and some soluble nutrients including minerals and inorganic ions, upwards from the roots to the rest of the plant.
Additionally, it plays an essential role of providing strength to tissues and organs, to maintain plant structure and resistance to bending.