A wetland is a distinct semi-aquatic ecosystem whose groundcovers are flooded or saturated in water, either permanently, for years or decades, or only seasonally for a shorter periods. Flooding results in oxygen-poor (anoxic) processes taking place, especially in the soils. Wetlands form a transitional zone between waterbodies and dry lands, and are different from other terrestrial or aquatic ecosystems due to their vegetation's roots having adapted to oxygen-poor waterlogged soils. They are considered among the most biologically diverse of all ecosystems, serving as habitats to a wide range of aquatic and semi-aquatic plants and animals, with often improved water quality by the plants removing excess nutrients such as nitrates and phosphates.
Wetlands exist on every continent, except Antarctica. The water in wetlands is either freshwater, brackish or saltwater. The main wetland types are classified based on the dominant plants and the source of the water. For example, marshes are wetlands dominated by emergent herbaceous vegetation such as reeds, cattails and sedges. Swamps are dominated by woody vegetation such as trees and shrubs (although reed swamps in Europe are dominated by reeds, not trees). Mangals are wetlands with halophytic woody plants known as mangroves, which have evolved to tolerate salty water.