Wastewater treatment is the process that removes the majority of the contaminants from wastewater or sewage and produces both a liquid effluent suitable for disposal to the natural environment and a sludge. Biological processes can be employed in the treatment of wastewater and these processes may include, for example, aerated lagoons, activated sludge or slow sand filters. To be effective, sewage must be conveyed to a treatment plant by appropriate pipes and infrastructure and the process itself must be subject to regulation and controls. Some wastewaters require different and sometimes specialized treatment methods. At the simplest level, treatment of sewage and most wastewaters is carried out through separation of solids from liquids, usually by sedimentation. By progressively converting dissolved material into solids, usually a biological floc, which is then settled out, an effluent stream of increasing purity is produced.