1) Retaining walls are built to hold back soil and come in different types including gravity, semi-gravity, cantilever, counterfort, and crib walls.
2) The design of retaining walls involves determining the lateral earth pressures based on soil parameters, and checking the stability against overturning, sliding, and bearing capacity failures.
3) Lateral earth pressures can be estimated using theories such as Rankine, Coulomb, and at-rest pressures which depend on the soil unit weight, friction angle, and whether the soil is active or passive.