A retaining wall is necessary when there is a slope or hillside that needs to be stabilized or when there is a need to create a level surface on a sloping or uneven property.