Many fungi species use, and sometimes control the brains of, insect hosts to spread their spores (the fancy word is entomopathogenic). The most well known example is probably the "zombie ant" fungus, Ophiocordyceps unilateralis, sometimes known as "cordyceps" (taxonomy changes). If you like The Last of Us, this was the same species that evolved to zombify humans.
Anyway, the pictures above show a different fungus species, Furia ithacensis, which infects snipe flies (genus Rhagio). Once a fly is infected, the fungus makes it climb up underneath a leaf before it dies, its wings spread to make way for the spores. This usually occurs in the evening, so by the morning, spores ("fungal bullets of death" according to Wikipedia) are everywhere, and, when more flies get attracted to the corpse, they too will be infected <3