Physical, chemical, and biological processes combine in wetlands to remove contaminants from wastewater. An understanding of these processes is fundamental not only to designing wetland systems but to understanding the fate of chemicals once they enter the wetland. Theoretically, wastewater treatment within a constructed wetland occurs as it passes through the wetland medium and the plant rhizosphere. A thin film around each root hair is aerobic due to the leakage of oxygen from the rhizomes, roots, and rootlets. Aerobic and anaerobic micro-organisms facilitate decomposition of organic matter. Microbial nitrification and subsequent denitrification releases nitrogen as gas to the atmosphere. Phosphorus is coprecipitated with iron, aluminium, and calcium compounds located in the root-bed medium. Suspended solids filter out as they settle in the water column in surface flow wetlands or are physically filtered out by the medium within subsurface flow wetlands. Harmful bacteria, fungi, and viruses are reduced by filtration and adsorption by biofilms on the gravel or sand media in subsurface flow and vertical flow systems.