The bird is one of those scavengers that eat dead stuff.
The bugs will break down the body.
The mushrooms will do the same thing.
Once the body is gone, so are the mushrooms, and the decomposed remains are nutritious soil.
Then plants suck the nutrients out of the soil.