Cookies are small files that hold data from a client or website and are stored on your computer. Once stored, they can be accessed by the web server and used to customize items like ads based on your search history.