Both are entirely different in the purpose they serve but are complimentary to each other in some cases. CDN or Content Delivery Network
is a network of interconnected nodes, called Edge Servers, located at the different geographical locations with the in-built algorithm to faster delivery of content to the end user. Actually, a CDN replicates the binary files and stores at edge servers and delivers to the end user from the geographically closest edge server. For instance, if your website is hosted in India and the CDN that you use has service in Australia, the user will experience fast loading speed as the content would be served by the closest Edge Server located in the Australia.
On the other hand, Cloud hosting
is software and hardware as a service, such as – SaaS (Software-as-a-Service) and PaaS (Platform-as-a-Service). Amalgamation of CDN together with Cloud hosting immensely enhance the hosting experience. CDN with Cloud not only delivers content quickly but more reliability and security. Cloud differs from another hosting framework as it offers great scalability with the unique feature of pay-as-you-use that resulted as a cost-effective solution.
From the explanation above, it is clear that Cloud is a hosting of web application/application server
or content, while a CDN fuels the performance of hosting experience. It improves the services in terms of faster web page load and reduced latencies etc.