What they are
Cookies and local storage are small pieces of data a website keeps in your browser to remember something between visits. The law distinguishes technical ones, needed for the site to work or to give you what you ask for, from the rest, which need your consent.