Content Security Policy (CSP) is a security mechanism that helps to protect websites and web applications from various types of attacks, such as cross-site scripting (XSS) and clickjacking. CSP works by defining a set of rules that specify which sources are allowed to load and execute content on a website