What is the role of Microorganisms in an Effluent Treatment Plant?

Micro organisms are of very many kind such as bacteria, virus, fungi, etc.. let us know how they are useful in Effluent Treatment Plant? In cleansing the water before releasing them into water bodies. There are two types of Microbes Good and Bad. get to know more..