Cookies are text files stored on your computer, and therefore cannot be used to infect your computer with a virus or allow malicous code to run on your computer. So cookies are not deemed dangerous, however there maybe concerns over privacy.
Cookies cannot access any other information on your computer, so the privacy concerns relate to tracking of your sites you browse.
Are cookies safe?
Cookies are generally safe, but they can be used for malicious purposes. For example, a website could use a cookie to track your browsing behavior and sell that information to third-party advertisers. Additionally, cookies can be used to store sensitive information, such as your credit card number or social security number.
To protect yourself from malicious cookies, it's important to only visit trusted websites and to regularly clear your browser's cookies and cache.
In conclusion, computer cookies are small pieces of data that are stored on your computer by websites you visit. They are used to remember your preferences, track your activity, and personalize your experience. While cookies are generally safe, it's important to be aware of their potential risks and to take steps to protect yourself.