A retaining wall is a structure that has been designed and constructed to withstand lateral pressure on the ground when there is a desired change in floor height that exceeds the angle of rest of the floor. The walls must be able to withstand lateral pressure due to loose floors or, in some cases, water pressure.