They may not be everyone's cup of tea but fungi really are an interesting aspect of nature. Fungi serve a vital role in breaking down waste and returning materials to the soil where they can be re-used. Often this waste it feeds on is dead wood but not always. The petticoat mottlegill (Panaeolus papilionaceus) specialises in recycling animal dung.
This fungus has a distinct life cycle (which it shares with some other fungi species) where it thrives in animal dung. From the mycelium that performs the breaking down function it produces the fruiting bodies (the cap that we see) and the spores from the cap fall on to the ground amongst the grass. Animals come along grazing and eat the spores along with the grass, the spores pass through the gut and are ejected inside fresh dung where the fungus starts to break it down! Incredible when you think that once a cow-pat, for example, has been totally broken down by the fungus, the fungus will die because it has nothing left to consume so it is dependant on a new cow-pat being generated to continue its survival through its spores. Without the fungus (and other creatures of course) there would be heaps of dung so the fungus is essential in maintaining an equilibrium. However, it cannot totally rid us of dung as it needs more to survive.
That is the wonder of nature.