Septic tanks, chemical toilets, and compost pits are examples of the onsite disposal system.
Wastewater treatment plant involves different physical, chemical, and biological processes, which remove physical, chemical and biological matter that contaminates the wastewater and hence cannot be made onsite.