Decomposition of organic matter is largely carried out by bacteria and fungi.