What structure has as primary purpose of preventing the lateral movement of soil?

What structure has as primary purpose of preventing the lateral movement of soil?