Fungi in terrestrial ecosystems