Dating as an institution is a relatively recent phenomenon which has mainly emerged in the last few centuries.
From the standpoint of anthropology and sociology, dating is linked with other institutions such as marriage and the family which have also been changing rapidly and which have been subject to many forces, including advances in technology and medicine.
As humans societies have evolved from hunter-gatherers into civilized societies, there have been substantial changes in relations between men and women, 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.
Information about human sexuality grew, and with it an acceptance of all types of sexual orientations is becoming more common.
The protocols and practices of dating, and the terms used to describe it, vary considerably from country to country and over time.
While the term has several meanings, the most frequent usage refers to two people exploring whether they are romantically or sexually compatible by participating in dates with the other.
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.