Cookies are short text files that are stored in your browser by the websites you visit. They do not connect to your system, and do not make any harm to files.
Cookies can be permanent or temporary. Permanent cookies are stored by the browser until a specific time provided that the user does not delete them beforehand. Temporary cookies are not stored by the browser, and they are deleted automatically as soon as the browser is closed.