Hey,
Actually, in both Cloud server and Dedicated server, you will get the separate resources for your use only.
Difference between them is :
(i) Dedicated servers - Dedicated Server is a physical that is purchased or rented entirely for your business requirements. A dedicated server is mainly used by large organizations that provide a high level of security for your data and provides a high demand for server capacity.
(ii) Cloud servers - Cloud server is the same as a dedicated server where you get your own resources and it also provides you the high level of data security. The difference in cloud server is that instead of storing your data on any physical server, it gets stored on 'virtual' servers, and the cluster of such servers is called as a cloud. In the cloud server, you can ask the resources whenever there is a requirement for them.