1. What cookies are
A cookie is a small file a website asks your browser to keep, so the site can recognise the browser on the next request. Related technologies do the same job by other means: local storage in a browser, and secure device storage in a mobile app.
This page covers all three, because what matters is what is stored and why, not which mechanism stores it.