Decomposers are an essential component of any ecosystem. Decomposers like fungi and microscopic bacteria decompose most of the dead plant and animal matter on the planet. They break the matter down to smaller pieces called detritus, which many other animals can eat. Their main role is to recycle nutrients in dead organisms and their wastes. They also help to complete the cycle of recycling energy through the ecosystem.