Answer: They are the decomposers and clean up all of the waste material.
Explanation:
Fungi are the saprophytic organisms which means they obtain their food from the dead and decaying organic matter generated by the decomposition of plants and animals matter in the soil. The fungal colonies grows over the decaying matter and helps in it's decomposition. This way the fungi act as biological cleaning agents which clean up the biological waste from the soil.