Many different types of organisms live in soil and feed on organic matter that accumulates there. Some of these organisms are macroscopic such as fungi, earthworms, nematodes, and beetles. Others are microscopic such as bacteria and some protists.
Abiotic factors such as groundwater can also prevent the preservation of an organism by washing it away before it can fossilize.