A question that’s often baffled scientists is how certain species of fish can sometimes appear—and even proliferate—in isolated bodies of water not previously known to harbor them. A new study has demonstrated that the most unlikely explanation might actually be correct: It’s possible they fell from the sky.

Specifically, from the rear end of a swan.

A study in the journal Ecology by researchers at the Unisinos University in Brazil found that killifish eggs can, in rare cases, survive being swallowed by swans, enduring a journey through their digestive tracts before being excreted out. This kind of fecal public transportation system explains how killifish can pop up in ponds, flood waters, and other water bodies that would seem an unlikely place for species to suddenly appear.

After discovering that some plants could survive being ingested and then flourish in swan poop, researchers took notice of a killifish egg present in a frozen fecal sample. They set about mixing two species of killifish eggs into the food supply of coscoroba swans living in a zoo. After waiting a day, they collected the poop and dug in looking for the eggs.

Of the 650 eggs they estimated to have been ingested by the swans, about five were left intact. Of those, three continued to develop. Two died of a fungal infection, but one survived, enduring 30 hours in the gut and hatching 49 days after being excreted.

Because killifish eggs have a thick outer membrane, or chorion, they stand a chance of coming through the digestive tract of an animal intact. Not all of what a swan ingests will be absorbed; their stomachs are built to extract nutrients quickly and get rid of the whatever's left so the birds can eat again. In rare cases, that can mean an egg that can go on to prosper.

Not all fish eggs are so durable, and not all fish are quite like the killifish. Dubbed the "most extreme" fish on Earth by the BBC, killifish have adapted to popping up in strange environments where water may eventually dry up. They typically live for a year and deposit eggs that can survive in soil, delaying their development until conditions—say, not being inside a swan—are optimal. One species, the mangrove killifish, can even breathe through its skin. When water recedes, they can survive on land for over two months, waddling on their bellies or using their tails to "jump" and eat insects. A fish that can survive on dry land probably doesn't sweat having to live in poop.

The researchers plan to study carp eggs next to see if they, too, can go through a lot of crap to get to where they’re going.

[h/t The New York Times]