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.
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.
Humans have been compared to other species in terms of sexual behavior.
Accordingly, there was little need for a temporary trial period such as dating before a permanent community-recognized union was formed between a man and a woman.
While pair-bonds of varying forms were recognized by most societies as acceptable social arrangements, marriage was reserved for heterosexual pairings and had a transactional nature, where wives were in many cases a form of property being exchanged between father and husband, and who would have to serve the function of reproduction.
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.
These people will have dates on a regular basis, and they may or may not be having sexual relations.
This period of courtship is sometimes seen as a precursor to engagement.
Neurobiologist Robert Sapolsky constructed a reproductive spectrum with opposite poles being tournament species, in which males compete fiercely for reproductive privileges with females, and pair bond arrangements, in which a male and female will bond for life.
These species-particular behavior patterns provide a context for aspects of human reproduction, including dating.
Behavior patterns are generally unwritten and constantly changing.