Question: If you see a mushroom on an old decaying log, its because a mushroom is a decomposer, which gets its food from? Answer: non-alive things.
dead organisms are the source of nutrients for decomposers