Answer:
Rotting logs are the dead bodies of plants but many organisms feed on it and take nutrients from it. Fungi is a microorganisms which also feed on logs and extract the nutrients present in it. Fungi is a decomposer which broken down the dead bodies of plants such as wooden log and releases the nutrients. Some nutrients used by fungi and other mixes in the soil which takes by the plants for their growth and development.