A retaining wall is a strong rigid wall built to the support the weight of a mass of adjacent soil. Where a garden has different levels, a retaining wall is built to seperate the two elevations.