Fungi are heterotrophic. They get their nutrition by absorbing organic compounds from the environment. Fungi, along with bacteria that are found in soil, are the primary decomposers of organic matter in terrestrial ecosystems
the decomposers or transformers, consists of organisms such as bacteria and fungi that break down dead organisms and waste materials into nutrients usable by the producers.