Dam operators must also balance competing requirements for their water. Large dams provide irrigation for crops, water supplies for cities and navigation for ships. The primary purpose of the Three Gorges Dam, for example, was to control the annual flooding of the Yangtze that periodically devastated towns and farms downstream. This summer, as drought reduced the flow of water into the river, the dam had to hold back enough water to maintain navigation to Chongqing, central China’s largest city that is almost 2,000 kilometers from the sea.