B. can decrease flooding of habitats.
Reason: Hydroelectric power is a renewable energy source that uses the energy of falling or flowing water to generate electricity. It involves the construction of dams or other structures to capture the energy of water flowing in rivers or streams. While hydroelectric power can be expensive to construct, it has several benefits, including reducing the risk of flooding in downstream habitats by regulating the flow of water.