What are cookies?
ANSWER
Simply put, cookies are small text files that are stored on an end-user device, such as a computer or smartphone, when a website is displayed. Cookies stored on the device can later be read by the server that delivers the website.
There are different types of cookies. They can be categorized based on their lifespan (e.g., session cookies and persistent cookies) or according to the domain to which they belong (e.g., first-party cookies and third-party cookies). If the server delivering the website stores cookies on the user's computer or mobile device, they are referred to as "HTTP header cookies". In addition, cookies may also be stored using JavaScript code.
Example:
A website is available in five different language versions. When a user visits the website for the first time, they select the Polish language version. A text file (a persistent cookie) is then stored on the user's device containing information that the user prefers to browse the website in Polish. If the user does not delete the cookie and revisits the website using the same browser, the information stored in the cookie will instruct the server delivering the website to display the content in Polish.


