Detritivore
Detritivores have different ways of eating dead things. Earthworms swallow the dead things whole. Others, like millipedes, have special mouthparts to chew the dead things. Some detritivores, like woodlice, can even eat cellulose, which is a tough part of plants.