Cloudflare is a CDN service that allows you to secure websites behind a WAF.
Whether you are hosting a website at a commodity hosting company, or deploying your workloads to the very edge of the internet, CloudFlare is the best platform on the market for security and performance.
Cloudflare will protect your site or API with a WAF (Web Application FIrewall) at the very edge, away from your central hosting. Since Cloudflare has a global footprint, your ability to handle things like DDoS attacks is much greater than having a single appliance or software solution guarding your site or API.
Cloudflare operates one of the fastest most accessible caches in the world. Simply deploying Cloudflare in front of your site will reduce load and bandwidth needs becasue commonly accessed objects are cached when they are accessed through CloudFlare.
If you are running a headless CMS or something in the JAMStack, you can deploy your site or application direct to the world from your source repository with Cloudflare pages. This will make your site highly available across a global network, with all the security features that Cloudflare offers to all their customers.