What is a Cookie?
Cookies are often indispensable for websites that have huge databases, need logins, have customisable themes or other advanced features.
Cookies usually don't contain much information except for the URL of the website that created the Cookie, the duration of the Cookie's abilities and effects, and a random number. Due to the little amount of information a Cookie contains, it usually cannot be used to reveal your identity or personally identifying information.
Standard Uses for Browser Cookies
Website servers set Cookies to help authenticate the user, if the user logs in to a secure area of the website. Login information is stored in a Cookie so the user can enter and leave the website without having to re-enter the same authentication information over and over.
Session Cookies are also used by the server to store information about user page activities so users can easily pick up where they left off on the server's pages. By default, web pages really don't have any 'memory'. Cookies tell the server what pages to show the user so the user doesn't have to remember or start navigating the site all over again. Cookies act as a sort of “bookmark” within the site.
Cookies are NOT viruses. Cookies use a plain text format. They are not compiled pieces of code so they cannot be executed nor are they self-executing. Accordingly, they cannot make copies of themselves and spread to other networks to execute and replicate again. Since they cannot perform these functions, they fall outside the standard virus definition.
AllAboutCookies.org - http://www.allaboutcookies.org