In: Computer Science
Cookie is a small piece of data sent from a website while the user is browsing and stored on the user's computer by the user's web browser. They are used to store bits of information about your interactions with the website, which the web server can use later when processing your sessions. Cookies in themselves are harmless. They are just the data stored by a website in your browser. It is what sites do with them that determines whether we like them or not. The main purpose of a cookie is to identify users and possibly prepare customized Web pages or to save site login information for you.
Some companies won't let you use their website if you don't accept a cookie. It's generally because some websites simply won't work as intended without cookies. But for the most part, you'll still be able to access the majority of the internet without accepting cookies.
You can delete the cookies while clearing browser history. Almost all websites use cookie to help you out with your browsing pattern.
Since it is harmless to accept cookies So it would be better to accept them as it may not let you use some websites without accepting them also it makes browsing easy.