maggots feed on dead and decaying organisms for energy. what are maggots

Answer:
Decomposers, or as they're alternatively known, detritovores.
Explanation:
Their job is to break down decaying/dead organic matter to recycle it into the soil for plants (mainly). Fungi and bacteria make up the vast majority of decomposers.