The source of energy for decomposers is the dead and decaying matter in the environment.
Decomposers like microbes and fungi depend on the dead and decaying matter for nourishment or energy. They obtain their energy by decomposing the complex organic matter in the dead remains of plant and animal into simple compounds or inorganic molecules which is reused by the plants in the ecosystem.