Many act as decomposers, breaking down the dead bodies of plants and animals and recycling the nutrients they hold. ... The fungal decay makes these nutrients and carbon dioxide available to green plants for photosynthesis, and it completes an important cycle of raw materials in the ecosystem.