What are COOKIES ??

Many days before after checking the yes box on the cookies notification on a website I used to feel that this message was for me receiving a packet of cookies home but it's not so then what are these cookies

So basically cookies are files created by the website you visited so the question might come what's the need for creating such a file it's for making your online experience easy by saving your browsing information . For eg when u logged in to your Amazon account and added so items to your cart the next time, u logging in again u saw those items stored in the cart.

With cookies, the site can keep u signed in, remember your site preferences and give you locally relivant content. Now there is a concept of third-party cookies that you need to know these third party cookies are set by a website other than the one you are currently on. And vice-versa to that first party cookies are the one stores under the same domain that you currently visited.