I've been meaning to note this piece from NatGeo for a while. What a great question!
Other theorists believe music was an attempt at social glue, a way to bring early humans together into a close-knit community."This hypothesis centers on music's unique ability to influence the mood and behavior of many people at once," they write, "helping to mold individual beings into a coordinated group." They cite the power of military music, music played at sports games, and "ritualized drumming" as examples.
I think if I had a choice between giving up music or sex, I'd give up sex. That's saying a lot for those of you who know me. Music has a power over me like nothing else. I listen to it constantly and in a wide variety of moods. Listening to sad music when I am sad somehow makes me happy. That says a lot about its power. Of course, in reality it's not an either or choice with music and sex so the two together are quite wonderful and why life is so amazing!