In vascular plants the xylem acts as vascular elements that can transport the water and mineral nutrients from the soil to the upper parts of the plants.