What a CDN Is
A CDN, a content delivery network, is a set of servers spread around the world that hold copies of a site's files and deliver them from the point nearest whoever asks. Instead of fetching every image from a single server, it comes from a node a few kilometres away.
The gain is one of distance. Data travels fast but not instantly, and every round trip between continents costs noticeable time, especially in TTFB. Shortening the route is the most direct way to reduce it.
Besides bringing files closer, almost all CDNs do two more things: they absorb traffic spikes that would knock over the origin server, and they filter malicious requests before they arrive. For many sites that second job weighs as much as the speed.
It deserves separating from two things it gets confused with. It is not hosting: the site still lives on an origin server and the CDN sits in front. And it is not a backup: if the origin disappears, the nodes serve whatever they hold until it expires, and after that there is nothing.
Nor does it have to be bought as a separate product. Many hosts include one, and some CMS platforms switch it on with a checkbox. That is convenient and carries a trap: not configuring it yourself makes it easy not to know what is being stored or for how long — precisely the two questions that matter.
