An anaerobic lagoon or manure lagoon is a man-made outdoor earthen basin filled with animal waste that undergoes anaerobic respiration as part of a system designed to manage and treat refuse created by concentrated animal feeding operations (CAFOs). Anaerobic lagoons are created from a manure slurry, which is washed out from underneath the animal pens and then piped into the lagoon. Sometimes the slurry is placed in an intermediate holding tank under or next to the barns before it is deposited in a lagoon. Once in the lagoon, the manure settles into two layers: a solid or sludge layer and a liquid layer. The manure then undergoes the process of anaerobic respiration, whereby the volatile organic compounds are converted into carbon dioxide and methane. Anaerobic lagoons are usually used to pretreat high strength industrial wastewaters, and municipal wastewaters. This allows for preliminary sedimentation of suspended solids as a pretreatment process.