Deadwood is a complex range of different microhabitats, which evolve over time. Lots of invertebrates feed on dead wood and many fungi depend on it too.
In my garden, I have placed several logs near shrubs and trees. They provide shelter for amphibians, millipedes, centipedes, wood lice, bugs and beetles.
I noticed several fungi growing on these logs. Deadwood provides habitats for creatures that live, feed or nest in cavities in dead and dying timber. It is a food source for beetles and for fungi and bacteria. In due course, the nutrients in these logs will be recycled and return to the soil and feed the plants and the soil organisms. Deadwood is also a source of organic matter and moisture. Foresters say that “Deadwood is the richest habitat in a healthy forest ” .