English grammar practice test: 72241003 on grammar and sentence structure

Dams are used to control flooding, provide water for irrigation, and generating electricity for the surrounding area.

There are 4 underlined sections in the text above. Select the one which is wrong.