Biodegradation of organic compounds in wastewater