A cookie is a small text file that websites you visit ask to save to your computer. Cookies are used by many websites to give the visitor access to more functions. It’s possible to use the information in a cookie to follow how a user surfs.