The fungus genus Trichoderma contains opportunistic species that display various interactions with other fungi, plants, and animals. They are commonly found in soil and on decaying wood. Genomic analyses of Trichoderma species reveal genes for extracellular enzymes that allow them to live saprotrophically on dead organic matter or biotrophically through mycoparasitism of other fungi. Many Trichoderma species can also interact beneficially with plants through biocontrol of pathogens or stimulation of plant growth. Their diverse lifestyles are supported by environmental opportunism and an ability to switch between saprotrophic and biotrophic interactions through mycotrophy.