Answer:
decomposers obtain food by breaking down the remains of dead organisms or other organic wastes, and herbivores are animals that eat plants.
decomposers help the soil and environment by taking away all that food or animal waste by giving back to the earth for it can make something. While herbivores are the one taking the energy from the plants that the decomposers make.
Hope this helps