Cookies are small bits of data that generally contain two pieces of information; the website name and a unique identifier. These are not programs, and are not harmful to your computer. The cookies are stored in plain text on your computer and can be viewed with a text editor.
If you find the idea of a website storing information on your computer a bit intrusive, you can disable or block cookies. Instructions for how to block cookies on some popular browsers are below: