 The larvae of some species, while still being associated with fungi, are at least partly predatory.Some species are attracted to the fungus smell of Jack-in-the-Pulpit, fall into their inflorescences and accomplish their pollination.Around a dozen mycetophilid species are unique among flies in displaying bioluminescence.