Fungi are a diverse group of eukaryotic organisms that includes mushrooms, molds, yeasts, and microfungi. They are heterotrophs that absorb nutrients from living or dead organic matter. Fungi play important ecological roles in the environment through symbiotic relationships, as decomposers that break down dead material, and as pathogens of plants and animals.