What are cookies?
Cookies are small text files your browser stores on your device when you visit a website. They help a site remember preferences, understand how it is being used and feel less like a hallway that resets every time you turn around. Similar technologies — usually called local storage or session storage — do much the same, without the clever name.
This page covers all of them.