Websites create small text files called cookies whenever you visit them to retain important information. Cookies will remember login details, preference settings, where you left off last time you used the site and perform other useful tasks.