what do cookies do a cookie is the term given to describe a type of message that is given to a web browser by a web server the main purpose of a cookie is to identify users and possibly prepare customized web pages or to save site login information for you