Milk is not just food. The more closely scientists examine it, the more complexity they find.

Along with nutrients like protein and calcium, milk contains immune factors that protect infants from disease. It hosts a menagerie of microbes, too, some of which may colonize the guts of babies and help them digest food. Milk even contains a special sugar that can fertilize that microbial garden.

Now, it turns out, milk also contains messages.

A new study of monkeys, published in the journal Behavioral Ecology, demonstrates that a hormone present in milk, cortisol, can have profound effects on how babies develop. Infant monkeys rely on cortisol to detect the condition of their mothers, the authors suggest, then adjust their growth and even shift their temperaments.

Jeffrey French, a neuroendocrinologist at the University of Nebraska at Omaha who was not involved in the study, praised its “remarkable sophistication” and said that it helped to change how we think about breast milk. “Milk serves almost like a pheromone, a chemical signal sent from one individual to another,” he said.

Katie Hinde, a behavioral biologist at Harvard and lead author on the new study, and her colleagues studied 108 rhesus macaque mothers nursing infants at the California National Primate Research Center. The researchers collected samples of milk, measuring how much energy each provided and the cortisol it contained.