Which of the following are functions of wetlands?

A) absorb pollutants

B) control floods by acting as a sponge for excess water

C) provide habitat for many animals

D) all of the above