Decomposition occurs either in aerobic or anaerobic, oxygen or oxygen-free, environments. In anaerobic environments, bacteria are the main decomposers, because the other decomposers require oxygen. The process usually takes longer with only bacteria to break down the organic matter.The primary decomposers are fungi, worms, protozoans, nematodes and soil bacteria.