When you are gathering data from a website, a small piece of data is sent from this website to your browser and it is stored in the history of your browser, it is known as a cookie. The main purpose of designing cookies was to keep a record of the browsing activities for the websites. With the help of cookies, it is also possible for the websites to remember the attributes of information that a user type in the address bar of the websites.