In sewer drains, bathroom pipes, and humid plant pots, a tiny fuzzy insect called the drain fly goes about its business, completely unaware that it might hold answers to one of biology's big questions: how do living things figure out which end is the head and which is the tail?

Scientists have long studied the common fruit fly to understand this puzzle. In that species, a gene called bicoid handles the job of setting up what researchers call the anterior-posterior body axis — the head-to-tail arrangement that every embryo needs to form. The catch? This gene only exists in some fly species, leaving researchers wondering how dozens of other flies manage the same essential task.

In 2019, Urs Schmidt-Ott, a professor of organismal biology and anatomy at the University of Chicago, and his team found part of the answer: three completely unrelated genes that stepped in to do bicoid's job in other species. These genes are like different workers who all learned to build the same house using entirely different tools.

Now, Schmidt-Ott's lab has dug deeper into one of these substitutes — a gene called odd-paired — in a moth fly called Clogmia albipunctata. The researchers published their findings in the journal PLOS Biology. Clogmia is harmless; its fuzzy body helps it survive in the steamy, wet places where it lives, giving it a moth-like appearance despite being a true fly.

The team discovered something surprising about how odd-paired works. Both odd-paired and bicoid manage chromatin accessibility, which is how open or closed the DNA is inside a cell. Open DNA lets genes switch on more easily; closed DNA keeps them locked down. Both flies break embryonic symmetry by opening up DNA in the regions that control head development — but that's where the similarity ends.

In fruit flies, bicoid activates a gene called hunchback to start building the head. In moth flies, odd-paired takes a different route entirely, activating two other genes called homeobrain and sloppy-paired instead. It's like two chefs making bread: both end up with a loaf, but one uses yeast while the other uses baking powder.

"We knew that the majority of flies lack this bicoid gene, although it's super important in Drosophila," Schmidt-Ott said. "That triggered our search for such factors in other fly species. It turns out each of these other species has its own interesting story."

Together, these stories reveal how evolution can produce the same result through completely different genetic paths — a phenomenon called developmental system drift. Understanding this process could help scientists see how flexible and creative nature can be when solving the same biological problem across millions of years.