SUMMARY
Fungi contribute extensively to a wide range of ecosystem processes, including decomposition of organic carbon, deposition of recalcitrant carbon, and transformations of nitrogen and phosphorus. In this review, we discuss the current knowledge about physiological and morphological traits of fungi that directly influence these processes, and we describe the functional genes that encode these traits. In addition, we synthesize information from 157 whole fungal genomes in order to determine relationships among selected functional genes within fungal taxa. Ecosystem-related traits varied most at relatively coarse taxonomic levels. For example, we found that the maximum amount of variance for traits associated with carbon mineralization, nitrogen and phosphorus cycling, and stress tolerance could be explained at the levels of order to phylum. Moreover, suites of traits tended to co-occur within taxa. Specifically, the genetic capacities for traits that improve stress tolerance—β-glucan synthesis, trehalose production, and cold-induced RNA helicases—were positively related to one another, and they were more evident in yeasts. Traits that regulate the decomposition of complex organic matter—lignin peroxidases, cellobiohydrolases, and crystalline cellulases—were also positively related, but they were more strongly associated with free-living filamentous fungi. Altogether, these relationships provide evidence for two functional groups: stress tolerators, which may contribute to soil carbon accumulation via the production of recalcitrant compounds; and decomposers, which may reduce soil carbon stocks. It is possible that ecosystem functions, such as soil carbon storage, may be mediated by shifts in the fungal community between stress tolerators and decomposers in response to environmental changes, such as drought and warming.