Sewage farm

Sewage farms use sewage for irrigation and fertilizing agricultural land. The practice is common in warm, arid climates where irrigation is valuable while sources of fresh water are scarce. Suspended solids may be converted to humus by microbes and bacteria in order to supply nitrogen, phosphorus and other plant nutrients for crop growth.
Many industrialized nations have implemented conventional sewage treatment to reduce vector and odour problems for water reclamation and use of biosolids; but sewage farming remains an option for developing countries.
Advantages.
Sewage farming allows use for irrigation of water which might otherwise be wasted. Some of the nutrients and organic solids in wastewater can be usefully incorporated into soil and agricultural products rather than fouling natural aquatic environments. Pumping to the point of application may be the only requirement if the village is not at a higher elevation than the sewage farm.
Disadvantages.
Polluted runoff may occur from sewage irrigation of fields when entering wastewater and precipitation exceed evaporation and percolation capacity.
Sewage is usually generated at a relatively constant rate, but irrigation is required only during dry weather, and is useful only while temperatures are high enough to promote plant growth. Over-irrigation causes soils to become septic, sour, or "sewage-sick". Arid climates may allow temporary storage of sewage in holding ponds while the soils dry out during non-growing seasons, but such storage may cause odor and aquatic insect problems, including mosquitoes.
It may be impractical to protect the crops being grown from sewage contact. Even optimum situations like irrigating fruit trees with flow in surface ditches may involve some risk of pathogen transfer from the sewage to the edible fruit by birds, insects, and similar vectors. Pathogen transfer is more likely with ground crops, and practically unavoidable with spray irrigation.
Similar wastewater systems.
Subsurface distribution piping is problematic since it is vulnerable to root blockage and to damage during soil cultivation. Also obstruction of distribution piping by sewage solids discourages sewage farming when wastewater is not pre-treated as it is typically the case in a septic drain field. 
Sewage farming should not be confused with wastewater disposal through infiltration basins or subsurface drains. 
Plows or harrows may be used to periodically break up vegetation mats which are slowing surface disposal. 
Subsurface disposal typically uses pipes placed deep enough to minimize root penetration and often manages overlying vegetation to avoid growth of plants with deep root systems.
History.
As a predecessor to modern sewage treatment systems, household sewage was collected from towns and cities and transported to nearby farm lands. During the Middle Ages this was accomplished with hand-carried buckets, but as local populations grew, during the Industrial Revolution sanitary sewer systems were built. These used a network of pipes and pumps to transport sewage beyond the city boundaries to large rented grasslands, into which the sewage trickled down. Berlin once operated 20 sewage farms occupying about 10,000 hectares. 
In Wales, it was the common means of sewage treatment when cess-pits became unusable as the population grew in towns during the industrial revolution. The initial response to overloaded local disposal was often a trunk sewer conveying sewage to the nearest river but as populations increased further, sewage farms were established.
Some of these farms remained in use until the end of the 20th century, at which point it became apparent that as it was usually contaminated with infectious pathogens and sometimes with industrial waste, sewage was not always suitable for use as a fertiliser. Therefore, sewage plants began to replace sewage farms. Modern sewage farms are usually combined with such plant, so that they irrigate the land with reclaimed water. Some types of untreated sewage can be used on a sewage farm, or filtered through a constructed wetland.