Dear Student, The roots of the trees go deep inside the ground and holds the soil in it's place. So water or other eroding agents cannot erod the soil away. In other words, roots bind to the soil particles very tightly thus, stopping the movement. Regards