Societies in ancient China were primarily agricultural, living along fertile river valleys like the Yellow River and Yangtze River valleys. The economy was feudal, with land owned by nobility and peasants forming the majority of the population. Farming techniques were advanced, utilizing irrigation networks of canals and dikes to maximize crop yields and prevent flooding. Crop rotation systems and fertilization helped maintain soil fertility.