A trickling filter is a type of wastewater treatment system. It consists of a fixed bed of some material, such as rocks , coke , gravel , slag , polyurethane foam , sphagnum peat moss , ceramic , or plastic media, over which sewage or other wastewater flows downward and causes a layer of microbial slime ( biofilm ) to grow, covering the bed of ...