Function of xylem vessel:
They transport water and dissolved miners salts from the roots to stem, leaves, fruits and flowers.
They provide mechanical support to the plant.
It has a long and continuous hollow tube, with no cross walls, to allow easy flow of water amd mineral salts.
The presence of lignin in its we all increases its mechanical strength to support the plant.
Lignin also prevents the vessels fromm collapsing.