What is a xylem in a plant and how does it work?

Xylem is a part of vascular bundle and its function is conduction of water and minerals in the plant.