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.
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.
Thus, the concept of marriage is changing widely in many countries.