In a lab in New York City, scientists are using tiny ants to answer one of life's oldest questions: where did the instinct to care for our children come from?

The answer, it turns out, may lie in hunger itself.

A team at Rockefeller University studied clonal raider ants and discovered that the brain systems controlling parenting likely evolved from ancient circuits that once managed something much more basic: finding food. The findings were published in the journal Nature.

"Evolution seldom invents things from scratch," said Daniel Kronauer, who leads the university's Laboratory of Social Evolution and Behavior. "Evolution takes what it has and works with that, sometimes in very surprising ways."

Many animals throughout history reproduced and simply left their offspring to survive alone. Scientists have long wondered how complex caregiving, like a mother bird protecting her nest or an ant tending to larvae, emerged from those non-parental ancestors. This new research offers a possible explanation.

The researchers focused on two brain molecules that seem to control whether an ant cares for larvae or goes out searching for food. The first, called Neuropeptide F (NPF), pushed ants toward caregiving. The second, Allatostatin A (AstA), made them more likely to leave the larvae alone and go forage instead.

Young ants naturally had more NPF and less AstA in key brain regions, matching their role as caregivers inside the nest. Older ants showed the opposite pattern, matching their shift to foraging outside. When scientists changed the activity of either molecule, the ants changed their behavior accordingly.

Here is what surprised the researchers most: the same molecules also responded to hunger. Starved ants developed more NPF and less AstA, making them behave more like caregivers, even toward larvae that were not their own. This suggests caregiving and feeding circuits in the brain remain connected, even after millions of years of evolution.

Ants proved to be useful test subjects for another reason. Their brains contain about 60,000 cells, compared to roughly 100 million in a mouse brain. That smaller size means scientists can study the underlying brain circuits more easily and quickly.

The team identified 70 different neuropeptides, which are chemical messengers the brain uses to send signals. They tested each one to see how it affected caregiving behavior.

The researchers also found that ants and mice share some of the same brain signaling systems for caregiving, suggesting similar processes may exist in mammals, including humans.

The work may eventually offer clues about how parenting evolved across the animal kingdom, and perhaps even in people.