Cookie in web development is a small piece of data sent from a website and stored on the user’s computer by the user’s web browser while the user is browsing. Cookies are used to remember information about the user, such as login or cart information, and are akin to the tags you might wear at a conference that tell others your preferred name and affiliations.