 An important function of the dam is to control flooding , which is a major problem for the seasonal river of the Yangtze . Millions of people live downstream of the dam , with many large , important cities like Wuhan , Nanjing , and Shanghai situated adjacent to the river . Plenty of farm land and China 's most important industrial area are built beside the river . 
