Chemical nutrients and energy tend to flow in the same direction for most of an ecosystem, but the main difference is that the nutrient cycle is recycled in the ecosystem while the energy flow is ultimately lost from the ecosystem to the universe at large. Decomposers are fungi and bacteria that obtain their nutrients from a dead plant or animal material. They break down the cells of dead organisms into simpler substances, which become organic nutrients available to the ecosystem.