Cookies are small text files installed on a hard drive by various web servers as users browse the internet. They are used to help identify a user when they return to a previously visited website.