China Naming Network - Almanac query - Geographical questions, why do fields in some areas look like ladders? What are the benefits?

Geographical questions, why do fields in some areas look like ladders? What are the benefits?

In rainy and mountainous areas, terraces are generally built on the mountains ~ These places lack flat farmland ~ The shape of terraces is mainly to prevent soil erosion ~ If crops are directly placed on sloping hillsides ~ When the rainy season comes, farming may be washed away by rainwater flowing down from the mountains, and irrigation water sources cannot be stored ~ At the same time, sloping hillsides cannot grow rice, a crop that needs a big pond ~ So local residents build terraces to grow food to store water sources ~