Roots anchor plants and trees in the soil, absorb water and nutrients, and help prevent soil erosion.