Along with water, the xylem also transports essential minerals, such as nitrogen, phosphorus, and potassium, absorbed by the roots from the soil.