Definition
A cookie is a small text file that a website asks your browser to store. When you return to the site, the browser sends the cookie back, which lets the site recognise you. Cookies keep you signed in, remember items in a shopping basket and store language or display preferences.
Cookies are divided into first-party cookies, set by the site you are visiting, and third-party cookies, set by other companies whose content appears on the page. Third-party cookies are widely used for advertising and cross-site tracking, which is why privacy rules and browsers increasingly limit them.
You can review and delete cookies in your browser settings, and most browsers let you block third-party cookies. Blocking everything can break sign-in and checkout on some sites, so a common middle ground is to allow essential cookies and block tracking cookies.