Sewage is produced by all human communities and is often left to compost naturally or is treated using processes that separate solid materials by settlement and then convert soluble contaminants into biological sludge and into gases such as carbon dioxide or methane.