In the twentieth century, dating was sometimes seen as a precursor to marriage but it could also be considered as an end-in-itself, that is, an informal social activity akin to friendship.
It generally happened in that portion of a person's life before the age of marriage, enabled dates to be arranged without face-to-face contact.
A few centuries ago, dating was sometimes described as a "courtship ritual where young women entertained gentleman callers, usually in the home, under the watchful eye of a chaperone," but increasingly, in many Western countries, it became a self-initiated activity with two young people going out as a couple in public together.
As humans societies have evolved from hunter-gatherers into civilized societies, there have been substantial changes in relations between people, with perhaps one of a few remaining biological constants being that both adult women and men must have sexual intercourse for human procreation to happen.
Humans have been compared to other species in terms of sexual behavior.
Communities exerted pressure on people to form pair-bonds in places such as Europe; in China, society "demanded people get married before having a sexual relationship" and many societies found that some formally recognized bond between a man and a woman was the best way of rearing and educating children as well as helping to avoid conflicts and misunderstandings regarding competition for mates.
Generally, during much of recorded history of humans in civilization, and into the Middle Ages in Europe, weddings were seen as business arrangements between families, while romance was something that happened outside of marriage discreetly, such as covert meetings.