The flies that buzz around your kitchen are a tiny fraction of a huge group of insects with well over 100,000 known species. Most flies never come near people. They spend their lives doing jobs that other animals depend on. Their biggest roles are unglamorous ones: recycling the dead and the discarded, carrying pollen, and becoming food for birds, bats and fish. Asking why flies exist is really asking who would clean up, pollinate and feed the wild if they were gone.
Flies Are Nature’s Cleanup Crew
Fly larvae, the soft, legless young stage usually called maggots, do most of the work of eating a dead animal. Their digestive juices break down fats and proteins into simpler substances, which they eat or release into the soil.1PubMed Central. Thermal Ecology and Forensic Implications of Blow Fly (Family: Calliphoridae) Maggot Mass Dynamics: A Review On a dead rabbit, the maggots’ combined weight reached about a fifth of the whole carcass.2Food Webs. Nutrient and moisture transfer to insect consumers and soil during vertebrate decomposition So a large share of a dead animal becomes living young flies that other animals can then eat. Clearing rotting flesh this quickly also lowers the chance of disease spreading.3PubMed Central. Thermal Ecology and Forensic Implications of Blow Fly (Family: Calliphoridae) Maggot Mass Dynamics: A Review
Flies arrive within minutes or hours and lay eggs, and the maggots hatch and gather in a writhing mass. Their feeding even generates heat, so a big mass can warm a carcass above the surrounding air, which speeds up their own growth. A summer carcass can be reduced to skin and bones in days to a couple of weeks, while the same job can take months in the cold. Flies aren’t the only decomposers, since bacteria, fungi, beetles and scavenging animals all work on a carcass, but flies usually arrive first and open the way for the others.
The soil benefits too, though not right away. Maggots release nitrogen, phosphorus and other nutrients into the ground through their waste and their bodies.4PubMed Central. Thermal Ecology and Forensic Implications of Blow Fly (Family: Calliphoridae) Maggot Mass Dynamics: A Review The first flood of nitrogen around a carcass is toxic to plants.5PubMed Central. Thermal Ecology and Forensic Implications of Blow Fly (Family: Calliphoridae) Maggot Mass Dynamics: A Review Later, that enrichment boosts soil fertility and plant growth.6PubMed Central. Thermal Ecology and Forensic Implications of Blow Fly (Family: Calliphoridae) Maggot Mass Dynamics: A Review
Dung and fallen leaves get the same treatment. Fresh cow dung hosts dung flies alongside dung beetles, helping recycle nutrients and air the soil.7Andalasian International Journal of Entomology. Dung-Associated Insects: Ecological Roles and Potential Benefits in Agricultural In streams, crane fly larvae shred fallen leaves into fine bits. Those bits drift downstream and feed other insects, including black fly larvae that filter them out of the water.8Leaf Pack Network. Linking Trees to Streams – Leaf Pack Network
The house flies on your rubbish are doing the same job. They’re drawn to rotting food because their young eat it, and outdoors that speeds the breakdown of waste. Indoors, the same instinct is why they carry germs, so covering food and bins matters.
Flies Are Major Pollinators
Hoverflies, the striped flies often mistaken for small wasps, visit about 52% of crops that rely on animal pollination.9PubMed Central. Pollination by hoverflies in the Anthropocene Those crops are worth around $300 billion a year.10PubMed Central. Pollination by hoverflies in the Anthropocene Only honeybees, bumblebees and sweat bees visit more crops.11PubMed Central. Pollination by hoverflies in the Anthropocene In Europe, hoverflies visit more than 70% of wildflowers pollinated by animals.12PubMed Central. Pollination by hoverflies in the Anthropocene
A fly counts as a pollinator because pollination just means carrying pollen from one flower to another, and any insect that feeds at flowers and moves between them can do it. Many adult flies drink nectar for energy and sometimes eat pollen for protein, and their hairy bodies pick up grains as they feed. A fly visit may be less efficient than a bee visit, but flies make up for it with sheer numbers of visits.
Flies matter more in some places than others. They stay active in cool, cloudy weather when bees rest, so in cold mountain and northern regions flies do much of the pollinating. They favor open, simple flowers like those of the carrot and daisy families.
Chocolate depends on a fly. Cacao flowers are shaped so that mainly tiny biting midges can pollinate them.13PubMed. Floral Odors and the Interaction between Pollinating Ceratopogonid Midges and Cacao Midges spend more time on the flowers, touch their reproductive parts and pick up far more pollen than other visitors.14Basic and Applied Ecology. Revisiting cacao pollination: new behavioural and pollen-based evidence for the key role of Ceratopogonidae Without these midges there would be little chocolate.
Having many kinds of pollinators also protects crops. Relying on a single one, such as the honeybee, is risky because a disease or bad season can cut it sharply. Flies, bees and other insects are active at different times, temperatures and places, so together they cover gaps that any one group leaves. That’s why farmers and scientists increasingly pay attention to wild pollinators like hoverflies, rather than only managed hives.
Flies Feed Birds, Bats, Fish and Spiders
In the droppings of one European bat species, flies were among the most common prey.15PubMed Central. All-you-can-eat buffet: A spider-specialized bat species (Myotis emarginatus) turns into a pest fly eater around cattle That bat is normally a spider specialist, yet it switches to eating flies around cattle.16PubMed Central. All-you-can-eat buffet: A spider-specialized bat species (Myotis emarginatus) turns into a pest fly eater around cattle In tropical forests, insects that hatch from streams, many of them flies, together with spiders made up roughly 36 to 49% of the diet of insect-eating birds and bats.17Food Webs. Contribution of emergent aquatic insects to the trophic variation of tropical birds and bats
Fish eat flies too. Non-biting midges spend their young life in lake mud, then rise to the surface to hatch.18Ecosphere. Benthic–pelagic coupling in lake ecosystems: the key role of chironomid pupae as prey of pelagic fish At times their rising pupae made up 20 to 48% of what perch ate.19Ecosphere. Benthic–pelagic coupling in lake ecosystems: the key role of chironomid pupae as prey of pelagic fish So the mud’s nutrients reach open-water fish through flies.
You can watch fly predators yourself. Swallows and swifts catch flies in flight over fields and water. Frogs, toads and lizards rely heavily on them, garden spider webs are often full of small flies, and a maggot-filled carcass also feeds beetles and birds.
Flies are eaten at every stage of life. Eggs, larvae, pupae and adults each have different predators, so one fly species can feed several kinds of animals over its life. Larvae in water are eaten by fish, newts and other aquatic insects, while the same species as flying adults feeds swallows and bats. That spread means flies feed animals nearly everywhere and through much of the year, not only on summer evenings.
Flies Carry Nutrients From Water to Land
Midges are small mosquito-like flies, most of which don’t bite, that grow up in water and live as adults on land.20PubMed. Quantifying aquatic insect deposition from lake to land In a big midge year near one lake, they dropped about 100 kg of nitrogen per hectare within 50 m of shore, three to five times the usual input.21PubMed. Quantifying aquatic insect deposition from lake to land These midges also increase the number of spiders and other shoreline invertebrates.22Oikos. Lake‐derived midges increase abundance of shoreline terrestrial arthropods via multiple trophic pathways
The route from water to land is simple. Midge larvae feed in the water and build their bodies from nutrients there, such as nitrogen taken in from algae and sediment. When adults emerge and fly ashore, those nutrients go with them, and when the adults die their bodies break down and release nutrients into the soil. The effect is strongest close to the water, since most adults don’t travel far from where they hatch.
Midges also carry healthy fats. Midge larvae eat algae, which makes them rich in omega-3 fats that land plants produce little of.23Freshwater Biology. The emergence of fatty acids—Aquatic insects as vectors along a productivity gradient That makes them high-quality food for birds and bats after they emerge.24Freshwater Biology. The emergence of fatty acids—Aquatic insects as vectors along a productivity gradient Heavy fish predation, though, can cut the midges leaving a pond about eightfold.25Freshwater Biology. The emergence of fatty acids—Aquatic insects as vectors along a productivity gradient
Flies Kill Garden and Crop Pests
Many hoverflies pollinate as adults while their larvae prey on aphids, cutting aphid numbers.26PubMed. Dual ecosystem services of syrphid flies (Diptera: Syrphidae): pollinators and biological control agents One hoverfly larva ate about 330 aphids on tomato plants before maturing.27Bulletin of Entomological Research. Biological attributes, predatory potential and functional response of syrphid, Episyrphus viridaureus (Weidemann) on potato aphid, Macrosiphum euphorbiae (Thomas) infesting tomato Some species specialise, such as one apple orchard hoverfly whose larvae each ate about 105 woolly apple aphids.28PubMed. Feeding and egg distribution studies of Heringia calcarata (Diptera: Syrphidae), a specialized predator of woolly apple aphid (Homoptera: Eriosomatidae) in Virginia apple orchards
The larva is nearly blind and finds aphids by swinging its head from side to side until it touches one. It grabs the aphid, lifts it, and sucks out its contents, leaving an empty skin. A larva feeds for roughly one to three weeks depending on temperature, so one egg laid in the right place can clear much of a colony. Females know this: they look for plants with aphids, guided partly by chemical signals from the colonies and the damaged plants, and lay their eggs close by so the young hatch beside their food. That’s why tiny white hoverfly eggs are often found on leaves already infested.
In your garden, hoverfly larvae look like small green or brown slugs among aphids. They’re often mistaken for pests and squashed. Leaving them lets them clear aphid colonies, and avoiding broad insecticides protects them. To attract adults, plant open flowers like alyssum, dill, fennel and calendula. Flowers through spring and autumn feed adults that then lay eggs near aphids, and a little tolerance of early aphids gives larvae food to build up.
Other flies work from the inside. Tachinid flies, with over 10,000 known species, lay eggs on or in caterpillars, bugs and beetles, and their larvae consume the host from inside.29Academic Press. Parasitism behavior of tachinid flies They help keep plant-eating insects in check in both wild and farmed land.30Academic Press. Parasitism behavior of tachinid flies Several fly families have even been used successfully to control pests on purpose around the world.31BioControl. Dipteran parasitoids as biocontrol agents
How Flies Help People Directly
Sterile green bottle fly maggots are used worldwide to remove dead tissue from chronic, infected wounds.32PubMed. Does maggot therapy promote wound healing? The clinical and cellular evidence They help disinfect the wound, and may also help it heal.33PubMed. Does maggot therapy promote wound healing? The clinical and cellular evidence Bagged maggots digest the most tissue in their first 3 days, so some experts suggest 3 days rather than the usual 4.34PubMed Central. What is the optimal treatment time for larval therapy? A study on incubation time and tissue debridement by bagged maggots of the greenbottle fly, Lucilia sericata
These maggots are lab-raised and germ-free, and they’re often sealed in a mesh bag over the wound, with dressings changed every few days. The treatment is used mainly when other methods haven’t cleared dead tissue. Green bottle fly maggots suit the job because they feed only on dead tissue and tend to leave healthy tissue alone. They release digestive fluids that liquefy the dead tissue and then drink it in, so the wound is cleaned without cutting. That matters because dead tissue can feed infection and block healing.
Fruit flies work in laboratories. Most human genes have a fruit fly counterpart, so fruit flies are used to study cancer, diabetes, Alzheimer’s and more.35National Institute of General Medical Sciences. Research Organism Superheroes: Fruit Flies They’re also used to test possible new medicines.36PubMed Central. Drosophila melanogaster: How and Why It Became a Model Organism They’re cheap to keep, take up little room and complete a life cycle in about two weeks, so scientists can follow many generations quickly. Their genes can be altered precisely, letting researchers copy a human genetic disease in a fly and watch what happens. This work has contributed to understanding of how genes and development work, which is why fruit flies appear in many Nobel prize stories.
Black soldier fly larvae eat food waste, crop leftovers and manure.37PubMed Central. Waste-to-feed bioconversion using Hermetia illucens Larvae: Current insights and prospects They turn it into protein- and fat-rich feed for poultry, livestock and farmed fish.38Discover Environment. Black soldier fly Hermetia illucens larvae in organic waste bioconversion current applications economic opportunities and environmental benefits They grow best on a mixed diet like household food scraps.39PubMed Central. Assessing Substrate Utilization and Bioconversion Efficiency of Black Soldier Fly (Hermetia illucens) Larvae: Effect of Diet Composition on Growth and Development Temperature At home, the adults don’t bite or enter houses much, and the larvae are sold for backyard compost bins, where they shrink scraps quickly and can feed chickens.
Maggots even help investigators. They estimate a minimum time since death from the age of the oldest maggots on a body.40PubMed. Forensic entomology: applications and limitations
What Would Happen If Flies Disappeared
Without flies, dead animals, dung and scraps would break down much more slowly. Rotting waste would build up and raise sanitation problems. Losing hoverflies alone would take away one group of visitors to about half of insect-pollinated crops. Birds, bats, fish, frogs and spiders would lose a major food.
Keeping only the “good” flies isn’t an option. Pest flies are a small share of fly species, and many fly groups are still mostly unnamed and unstudied. Flies have been diversifying since the age of early dinosaurs, so ecosystems are built around them. Controlling flies indoors doesn’t harm the wild populations that matter.
Fly numbers are already shifting. Where farming is more intensive, fly communities shift toward smaller flies, so total fly biomass falls.41Insect Conservation and Diversity. Complex temporal trends in biomass and abundance of Diptera communities driven by the impact of agricultural intensity In Swedish forests, clear-cuts had more flies and old-growth forest fewer, showing that different habitats hold very different fly communities.42Forest Ecology and Management. Diptera as indicators of forest management in boreal forests of southeastern Sweden Changes in lake midges track warming and pollution, so scientists use them as warning signs.43Freshwater Biology. Changes in midge assemblages reflect climate and trophic gradients across north temperate and boreal lakes since the pre‐industrial period

