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 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.
Still, dating varies considerably by nation, custom, religious upbringing, technology, and social class, and important exceptions with regards to individual freedoms remain as many countries today still practice arranged marriages, request dowries, and forbid same-sex pairings.