The cookie law is a government regulation concerning the placement of cookies by websites. The cookie legislation stipulates that visitors must be clearly and fully informed about which cookies are placed and their purpose by means of a cookie notification.
Cookies are there to make visiting websites more user-friendly. A cookie allows your shopping cart to remember its contents or means you don't have to re-enter your password every time. Websites can also better tailor their offerings to your preferences (clicking behavior) as a visitor. Cookies are therefore primarily there to improve website visits and learn from clicking behavior.