Cookies were invented by Lou Montulli in 1994. He was a 23-year-old engineer at Netscape with the goal of improving the customer experience and facilitating web analytics. Thanks to the cookies Lou invented, you finally didn’t have to log in again after every page refresh. Login information could now be captured and stored in the form of cookies. Soon after, marketing cookies emerged, which stored information about user behavior, preferences, and demographics in addition to login data.
First party cookies are set by the website a user is currently browsing and are blocked by browsers from other domains.
Third party cookies, on the other hand, are set by an external provider (third party) – i.e. not by the actual website one is currently on.