How are detritivores different from decomposers?

Detrivores eat dead bodies while decomposers break and decay dead bodies .