Sewage

Sewage, or domestic/municipal wastewater, is a type of wastewater that is produced by a community of people. It is characterized by volume or rate of flow, physical condition, chemical and toxic constituents, and its bacteriologic status (which organisms it contains and in what quantities). It consists mostly of greywater (from sinks, bathtubs, showers, dishwashers, and clothes washers), blackwater (the water used to flush toilets, combined with the human waste that it flushes away); soaps and detergents; and toilet paper (less so in regions where bidets are widely used instead of paper). Proper collection and safe, nuisance-free disposal of the liquid wastes of a community are legally recognized as a necessity in an urbanized, industrialized society.
Sewage usually travels from a building's plumbing either into a sewer, which will carry it elsewhere, or into an onsite sewage facility (of which there are many kinds). Whether it is combined with surface runoff in the sewer depends on the sewer design (sanitary sewer or combined sewer). The reality is that most wastewater produced globally remains untreated, causing widespread water pollution, especially in low-income countries: a global estimate by UNDP and UN-Habitat is that 90% of all wastewater generated is released into the environment untreated. In many developing countries the bulk of domestic and industrial wastewater is discharged without any treatment or after primary treatment only.
The term sewage is nowadays regarded as an older term and is being more and more replaced by "wastewater". In general American English usage, the terms "sewage" and "sewerage" mean the same thing. In common English usage, and in American technical and professional English usage, "sewerage" refers to the infrastructure that conveys sewage.
Sources and types.
Sewage is made up of the wastewater from residences and institutions, carrying bodily wastes (primarily feces and urine), washing water, food preparation wastes, laundry wastes, and other waste products of normal living. This is classified as sewage or domestic wastewater. 
Sewage in cities also includes the liquid-carried wastes from stores and service establishments serving the immediate community, termed commercial wastes. However, wastewater that result from industrial processes such as the production or manufacture of goods are classed as industrial wastewater, not as sewage and is usually collected and treated or pre-treated separately.
Sewage can get mixed with surface runoff in combined sewers unless stormwater is collected separately. Surface runoff is also known as storm flow or overland flow. It is that portion of precipitation that runs rapidly over the ground surface to a defined channel. Precipitation absorbs gases and particulates from the atmosphere, dissolves and leaches materials from vegetation and soil, suspends matter from the land, washes spills and debris from urban streets and highways, and carries all these pollutants as wastes and may mix it with sewage.
Pollutants.
Organic pollutants and nutrients.
Sewage is a complex mixture of chemicals, with many distinctive chemical characteristics. These include high concentrations of ammonium, nitrate, nitrogen, phosphorus, high conductivity (due to high dissolved solids), high alkalinity, with pH typically ranging between 7 and 8. The organic matter of sewage is measured by determining its biological oxygen demand (BOD) or the chemical oxygen demand (COD).
Sewage also contains organic matter that can cause odor and attract flies.
Pathogens.
All categories of sewage are likely to carry pathogenic organisms that can transmit disease to humans and animals. Sewage contains human feces, and therefore often contains pathogens of one of the four types: 
Sewage can be monitored for both disease-causing and benign organisms with a variety of techniques. Traditional techniques involve filtering, staining, and examining samples under a microscope. Much more sensitive and specific testing can be accomplished with DNA sequencing, such as when looking for rare organisms, attempting eradication, testing specifically for drug-resistant strains, or discovering new species. Sequencing DNA from an environmental sample is known as metagenomics.
Micro-pollutants.
Sewage also contains environmental persistent pharmaceutical pollutants. Trihalomethanes can also be present as a result of past disinfection.
Sewage has also been analyzed to determine relative rates of use of prescription and illegal drugs among municipal populations. General socioeconomic demographics may be inferred as well.
Management.
Collection.
A system of sewer pipes (sewers) collects sewage and takes it for treatment or disposal. The system of sewers is called "sewerage" or "sewerage system" (see London sewerage system) in British English and "sewage system" in American English. Where a main sewerage system has not been provided, sewage may be collected from homes by pipes into septic tanks or cesspits, where it may be treated or collected in vehicles and taken for treatment or disposal. Properly functioning septic tanks require emptying every 2–5 years depending on the load of the system.
Current approaches to sewage management may include handling surface runoff separately from sewage, handling greywater separately from blackwater (flush toilets), and coping better with abnormal events (such as peaks stormwater volumes from extreme weather).
Treatment.
Sewage treatment is the process of removing the contaminants from sewage to produce liquid and solid (sludge) suitable for discharge to the environment or for reuse. It is a form of waste management. A septic tank or other on-site wastewater treatment system such as biofilters or constructed wetlands can be used to treat sewage close to where it is created.
Sewage treatment results in sewage sludge which requires sewage sludge treatment before safe disposal or reuse. Under certain circumstances, the treated sewage sludge might be termed "biosolids" and can be used as a fertilizer.
In developed countries sewage collection and treatment is typically subject to local and national regulations and standards.
Before the 20th century, sewers usually discharged into a body of water such as a stream, river, lake, bay, or ocean. There was no treatment, so the breakdown of the human waste was left to the ecosystem. Today, the goal is that sewers route their contents to a wastewater treatment plant rather than directly to a body of water. In many countries, this is the norm; in many developing countries, it may be a yet-unrealized goal.
Disposal.
Raw sewage is also disposed of to rivers, streams, and the sea in many parts of the world. Doing so can lead to serious pollution of the receiving water. This is common in developing countries and may still occur in some developed countries, for various reasons – usually related to costs. Sewage contains nutrients that may cause eutrophication of receiving water bodies; and can lead to ecotoxicity.
Ships at sea are forbidden from discharging their sewage overboard unless three miles or more from shore.
Sewage can be converted to biogas using anaerobic digestion. Increasingly, agriculture is using untreated wastewater for irrigation. Cities provide lucrative markets for fresh produce, so are attractive to farmers. Because agriculture has to compete for increasingly scarce water resources with industry and municipal users, there is often no alternative for farmers but to use water polluted with urban waste, including sewage, directly to water their crops. There can be significant health hazards related to using water loaded with pathogens in this way, especially if people eat raw vegetables that have been irrigated with the polluted water.
The International Water Management Institute has worked in India, Pakistan, Vietnam, Ghana, Ethiopia, Mexico and other countries on various projects aimed at assessing and reducing risks of wastewater irrigation. They advocate a ‘multiple-barrier’ approach to wastewater use, where farmers are encouraged to adopt various risk-reducing behaviours. These include ceasing irrigation a few days before harvesting to allow pathogens to die off in the sunlight, applying water carefully so it does not contaminate leaves likely to be eaten raw, cleaning vegetables with disinfectant or allowing fecal sludge used in farming to dry before being used as a human manure. The World Health Organization developed guidelines for safe use of wastewater in 2006.
Terminology.
The words "sewage" and "sewer" came from Old French "essouier" "to drain", which came from Latin "exaquāre". Their formal Latin antecedents are "exaquāticum" and "exaquārium".
Both words are descended from Old French "assewer", derived from the Latin "exaquare", "to drain out (water)".