Cookies are simple text files. They are needed to help navigate automatic logins, password authentication, shopping cart functions, personal preference settings and a variety of other functions. Cookies make these functions smooth and hassle-free to the user. Cookies enhance your browsing experience. Without cookies, you would have to reenter all of your information every time you revisited a site. A cookie will simply remember your information on the website to save your time.
There is different kind of cookies that works on every browser. The two main kinds of cookies are session cookies and persistent cookies. Session cookies are temporary in nature and get deleted once you exit the browser. They are specifically used when you do online banking or online purchases. Whereas, persistent cookies are of a permanent nature and stays even after you close the browser.
There are other cookies too, like first party and third party cookies. First party cookies are set by the domain and only work when you go back to the same site. Third party cookies are set by someone other than the owner. The other person could be agencies that place desirable adverts on your site. Functionality cookies provide personalized online experience. On the other hand, to deliver targeted advertisements, advertising cookies are utilized.