The study of the interactions between fungi and other microorganisms in various microbial communities.