Wetlands are ecosystems where soil is saturated for all or part of the year, occurring along coastlines, rivers, and lakes. They serve as transitional zones between land and water and act as filters trapping sediments and nutrients. Wetlands are productive environments providing habitat for many organisms and helping with flood protection by slowly releasing surface water. Within wetland ecosystems, plants and algae act as producers, invertebrates and vertebrates act as consumers, and bacteria and fungi act as decomposers, with carbon and energy flowing through this food web. However, urbanization and the introduction of invasive species significantly impact wetland habitats by disrupting their quality.