Digital Ocean is a cloud service provider whereas Cloudways tests, deploy, and manage cloud servers for you. Cloudways itself does not have any servers. For servers, they depend on providers like Digital Ocean, Google Cloud, and AWS. If you have the technical skills, you can directly host with Digital Ocean, but I would suggest you to go through Cloudways to reduce the burden of managing servers.