A wetland provides a variety of services for an ecosystem, such as filtering pollutants from the water, allowing animals to lay eggs and reproduce, and producing fertile soils for plants. When humans build houses on wetland areas, they always