There are two major groups of earthworms. The humus formers dwell on the surface and feed on organic matter. They are generally darker in colour.
They are used for vermicomposting. The humus feeders are burrowing worms that are useful in making the soil porous and mixing and distributing humus throughout the soil.