Why does a website remember what's in your basket? Because it handed your browser a little ticket. That's a cookie.
At a theatre cloakroom, you hand over your coat and get a small numbered ticket. Later, you show the ticket and get your coat back. The attendant doesn’t need to remember your face.
A cookie is that ticket. It’s a small piece of information a website saves in your browser. Next time you visit, your browser shows it. The site remembers you.
What cookies are used for
- keeping you signed in (your session)
- remembering what's in your shopping basket
- remembering settings, like language or dark mode
- tracking which pages you visit, often for advertising
The banners
Laws in the UK and Europe say websites must ask before using cookies that aren’t strictly needed. That’s why so many sites show a pop-up when you arrive.
What it isn’t
It isn’t a program. A cookie can’t run or install anything. It’s just a small note.
Where the comparison breaks down
A cloakroom ticket is only used at that cloakroom. Some cookies, from advertisers, are read across many different websites, so they can follow you around the web.
How the words fit together
A cookie usually holds your session. It lives in your browser. A cache stores copies of pages. A cookie stores notes about you.
When a cookie banner pops up, “Reject non-essential” keeps the cookies the site needs to work. It turns off most tracking.

When you'll hear it
“Accept all cookies?” Let the site store all its little notes, including the ones used for advertising.
“Clear your cookies.” Delete the notes websites have saved, which will sign you out of most sites.
“They use third-party cookies.” Other companies, often advertisers, leave notes too, to follow you around the web.
“Does our cookie banner give people a real choice? Do we only track what we actually use?”


