Terraces slow down water runoff on sloped land, allowing water to gradually seep into the soil instead of washing away fertile topsoil. Retaining walls also provide extra support, preventing soil collapse and further erosion.