The study of the mutualistic relationships between fungi and other organisms, such as plants and insects.