Xylem is one of the two types of transport tissue in vascular plants. Its basic function is to transport water, but it also transports some nutrients through the plant.
The most distinctive xylem cells are the long tracheary elements that transport water. Tracheids and vessel elements are distinguished by the multitude of spots that occur on the vessel elements. In these spots both outer and inner walls are missing. The vessel elements are connected together into long tubes that are called vessels.
Primary xylem is the xylem that is formed during primary growth from procambium. It includes protoxylem and metaxylem. Metaxylem develops after the protoxylem but before secondary xylem. It is distinguished by wider vessels and tracheids. Xylem development occurs in a number of patterns, which vary in the relative position of the protoxylem and metaxylem, e.g. endarch in which the protoxylem is towards the centre of the stem or root, or exarch in which the metaxylem is towards the centre.