Explain how contour barriers are built?

Explain how contour barriers are built?

Stones, grass, soil and other local materials are used to build barriers along contours. Trenches are made in front of the barriers to collect water.