Cookie is a small piece of data, typically in the form of a text file, sent by a website to a user’s computer and stored in their browser. Cookies are used to track information about a user’s interaction with the site, such as preferences, login sessions, and browsing history. This enables the website to recognize the user during subsequent visits and provide more personalized and convenient content.