A frog in a dry landscape can find a damp refuge inside an ant nest—and hide from its hosts by masking itself with their scent. That unlikely shelter is one example of how insects support animals in ways that go far beyond feeding them.

Earth has at least 14 million insect species. Bees and hoverflies pollinate wildflowers and crops, while dung beetles help break down waste. But reports over the past decade of rapid declines in insect abundance and biomass have raised concerns about more than lost food for birds and bats. An international group of 21 researchers met online for a year and a half through the Research Coordination Network on the Status of Insects to examine what insect declines could mean for animals, from birds and bats to bilbies. Their discussions showed that vertebrates also depend on insects for places to live, protection and health.

Some insects build the very structures animals use as homes. Termites and ants make large nests above and below ground. Termite nests can offer reptiles climate-controlled places to lay eggs and parrots sites to nest. The soil around termite mounds can be suitable for burrowing animals such as naked mole rats and aardvarks. Ant nests also gather nutrients that help plants grow, creating better grazing areas for animals such as gazelles.

Insects can also help animals defend themselves. Horned lizards turn chemicals from ants into a toxic, blood-spurting defense against predators, including big cats. Poisonous frogs, along with some birds and snakes, use compounds from insects they eat to become toxic. Other birds nest near wasp nests, where the risk of stings may discourage predators. In the Amazon, young songbirds can move their heads to resemble fuzzy caterpillars when danger is near, possibly making predators hesitate.

Insects help keep ecosystems cleaner, too. By breaking down carcasses and dung, they remove waste and may reduce the spread of disease among wild animals. Insects that tunnel through and bury dung make it a poor place for parasites to live. And while some mosquitoes transmit diseases such as malaria, dragonfly larvae eat mosquito larvae in the water.

In Australia, insects have even played a role in helping threatened wildlife recover. Scientists used mosquitoes to spread a virus that controlled invasive European rabbits, which threatened native marsupials including bilbies. As rabbit populations were brought under control, bilbies and other native marsupials rebounded. Researchers have also found hundreds of medicinal compounds in insects, with more potentially undiscovered. Chimpanzees press flying insects into wounds, though scientists do not yet know which insects they use or exactly how this may help.

The examples show why insect declines could affect much more than pollination or the diets of insect-eating animals. Insects shape habitats, supply defenses and help regulate disease. Protecting them means safeguarding the many relationships that allow wildlife to survive—and researchers are still discovering just how far those connections reach.