Here’s some potential good news: Scientific evidence shows that sex can be pretty good for your well-being. Don’t count on it to replace your daily exercise routine, but sexual health experts say that consensual, positive sexual experiences are likely to release hormones like endorphins and oxytocin — both feel-good chemicals — into your brain.

“When we look at the function that those hormones might have then we can see that they assist to reduce stress and, of course, endorphins specifically might act like a natural anti-depressant," Matt Tilley, a sexual health expert at Curtin University in Austraila, told MedicalXpress in a report published Monday.

The release of hormones can go a long way toward helping people feel good about themselves, but there are some non-brain benefits, as well. Basically, sex achieves a moderate level of exercise. During the act, heart rates increase, systolic blood pressure increases, diastolic blood pressure decreases and people sweat more.

“It's exactly the same benefits as doing a full body cardio work but the caveat being that you have to maintain it for long enough,” Kevin Netto, director of research at Curtin University’s School of Physiotherapy and Exercise science, said.

Netto added that most people don’t do it long enough to rely on sex as an alternative to exercise. Research shows that the average sexual encounter lasts about 17 minutes while 30 minutes of daily exercise is recommended to counter modern life’s sedentary style. Other research pegs the average sex time at just 5.4 minutes per encounter.

The news comes as other research indicates that the millennial generation is having less sex than their predecessors in spite of the reputation they have as the “hookup generation.” The research, in the Archives of Sexual Behavior, shows that millennials are less sexually active and tend to have fewer partners than Generation X and Baby Boomers. The culprit? It is theorized that an increased emphasis on physical appearance promoted by online dating apps can cut out the opportunity to have sex for “average” looking people who have historically relied on long-term relationships and marriage to have sex.