Especially on steep lots it is often necessary to hold back the dirt in order to make the lot stable for the foundation, the driveways or any other number of reasons.
Retaining walls are built using block or large boulders and are done by an excavation crew and/or the masons.