Any ad executive will tell you that sex sells. But why? Do sexy images stimulate our biological urges, somehow motivating us to buy products? Or do marketers merely exploit and perpetuate our cultural obsession with sexual imagery? Do people want the beauty, wealth and power celebrities have, and use the products they endorse in the hope of achieving these same qualities?

These explanations are plausible, but my colleagues and I have a new one, based on decades of work comparing the behavior and neurobiology of decision-making in monkeys and people: Our brains have been fine-tuned by evolution to prioritize social information, and this laser focus on others profoundly shapes our decisions.

As early as the 1870s, companies like Pearl Tobacco and later, W. Duke & Sons, employed social advertising, showcasing nude or partially exposed women on posters and trading cards. Although the images had no direct link to the products, sales increased. A century and a half later, it seems impossible to escape sexual imagery in advertising. The same is true for celebrities in marketing campaigns—actors, musicians, athletes, even politicians and business leaders. These celebrities often don’t even use the products they advertise, yet the method still seems to work.

Our brains have circuits specialized for identifying, remembering and inferring the mental states of others so we can predict their behavior and make good decisions. In other words, we’re built to deal with people. But we’re not alone in this connection. Many species of monkeys and apes—our closest living relatives—also live in large, complex, dynamic societies. Behavioral studies show that, like us, these primates identify others, track prior encounters, empathize with friends and relatives, and make inferences about individuals’ mental states.

For people and monkeys alike, it’s important to find a good mate, make powerful allies and avoid potential threats. Paying close attention to social cues can improve these choices. In fact, both men and male monkeys are exquisitely sensitive to indications of female fertility. Men rate ovulating women as more attractive, and tip more for lap dances by fertile women. Similarly, male rhesus macaques prefer images of females with artificially reddened faces and hindquarters, coloration that predicts ovulation and sexual receptivity.

Women and female monkeys are also sensitive to clues about male quality, although what we know about that is based on fewer studies. A woman’s preference shifts toward more masculine faces—broader jaw, wider-set but smaller eyes—during ovulation. Female macaques, when ovulating, tend to mate with higher-ranking males and prefer those with reddened faces caused by a testosterone surge. Other studies found that both people and monkeys pay more attention to high-status individuals and are more likely to follow their gaze.

According to economics, we can quantify how much someone values something—coffee, a magazine—by how much he or she will pay for it. In our latest work, we developed an assessment, dubbed the “pay-per-view” test, to measure subconscious value of visual images. In the experiment, monkeys had the option to forego juice or food for a glimpse at a picture of another monkey. People could choose whether to accept a smaller cash reward to peek at a picture of another individual.

Our findings were striking. Male college students paid slightly money more to view an attractive woman than an unattractive one, losing several dollars during the experiment. Female students were much less motivated to see attractive men. Monkeys of both genders valued sex and status, accepting less food or juice to see images of monkey genitalia and faces of high-status males. In contrast, they required extra food or juice to look at faces of low-status males.

Based on these findings, it’s clear that monkeys and humans value information about sex and status so much that it can replace rewards like food, juice and money. Strong parallels between the two suggest shared brain mechanisms at work.

To test this idea, we used fMRI to scan the brains of male students in two circumstances: one, while they viewed female faces of varying attractiveness, the other while money was either deposited or withdrawn from their study stipend. The sight of attractive faces strongly activated a network of brain areas previously implicated in processing rewards—including the orbitofrontal cortex, ventromedial prefrontal cortex, and medial and ventral striatum—and neural activity increased with increasing attractiveness. The same happened with monetary rewards and losses. We believe this network computes economic “utility,” a person’s internal desire for or satisfaction with a good or service, thought to underlie decisions.

To determine the physiological basis of these signals, we measured individual brain cell activity in monkeys. Some fired strongly when male monkeys chose to see female genitalia, a high-status male face, or a large juice reward, but fired less when they chose low-status faces or small juice rewards. Specific brain cells reacted to images of faces and genitals but not juice, indicating the brain’s reward system possesses dedicated hardware for identifying and prioritizing key social information.

Can these discoveries help explain the power of sex and status in advertising? In theory, ads that associate sex or status with specific brands or products activate the brain mechanisms that prioritize social information, and turning on this switch may bias us toward the product.

To test this idea, we exposed male rhesus macaques to logos of household brands like Nike and Pizza Hut paired with a social image (e.g., female genitalia, high-status male face) or the same image with pixels rearranged to make it unrecognizable but retain the same brightness, contrast, and color, salient cues that could draw attention to a stimulus. Monkeys received a sweet treat for touching the screen after the ad, then had the choice between brands paired with a social image or its scrambled version.

Our advertising campaign was remarkably effective. Monkeys developed preferences for brands linked with sex and status. Both males and females preferred logos paired with sexual cues and the faces of high-status monkeys. And the more often male monkeys saw sexual advertisements, the more they preferred the brands. Sound familiar? Even monkeys, it seems, can be persuaded to choose a brand through social advertising.

Given the nearly identical specializations of brain reward circuits to prioritize social information in monkeys and people, is it any wonder that sex and status sell?