Cookies are small files that enable specific information related to the user to be stored on the user’s access device (PC, smartphone, etc.). On the one hand, they serve the user-friendliness of websites and thus the users (e.g. storage of login data). On the other hand, they serve to collect statistical data on website usage and to be able to analyze it for the purpose of improving the offer.
Cookies are generally used when states are to be stored over several page visits. Often this is essential functionality for the use of the website. A typical example of this is a shopping cart in an online store and the associated fact that the website visited should remember the content over several pages visited if possible.