A trickling filter consists of a bed of rocks, gravel, slag, peat moss, or plastic media over which wastewater flows downward and contacts a layer (or film) of microbial slime covering the bed media. conditions are maintained by forced air flowing through the bed or by natural convection of air. The process involves adsorption of organic compounds in the wastewater by the microbial slime layer, diffusion of air into the slime layer to provide the oxygen required for the biochemical oxidation of the organic compounds. The end products include carbon dioxide gas, water and other products of the oxidation. As the slime layer thickens, it becomes difficult for the air to penetrate the layer and an inner anaerobic layer is formed.