Cookies are small data files that your browser sets on your computer or device. A cookie itself does not contain or collect information. However, when it is read by a server via a web browser, it can help a website deliver a more user-friendly service – for example, remembering previous purchases or account details.