Cookies are funny. They get stored locally on your computer, but can be used to track whether you visited a site, what articles you viewed or bought, etc. Those we call tracking cookies. And then there are less harmful variants, which for instance help you to continue on the very page you left last time you visited a given site.
And then of course the image above shows another type of harmful cookie, the one you consume above your keyboard while having your coffee. These make keyboards into crumb collectors, and cause periodic cleaning to become a necessity. Best advice is to just shove your keyboard a bit further onto the desk, so the crumbs can't reach it!