Cookies are small pieces of data stored on a site visitor's browser. They are typically used to keep track of the setting users have selected and actions they have taken on a site.
Types of cookies:
Session (transient) cookies: These cookies are erased when site visitors close their browsers and are not used to collect information from their computers. They typically store information in the form of a session identification that does not personally identify the user.
Persistent (permanent or stored) cookies: These cookies are stored on a site visitor's hard drive until they expire (at a set expiration date) or until they are deleted. These cookies are used to collect identifying information about the user, such as web surfing behaviour or user preferences for a specific site.