In shared hosting, your website will share the same server resources as all other websites on the server such as CPU, Memory, disc space, bandwidth etc. If one website overloads the server, all users will suffer from low speed or downtime.
On the other hand, if you choose cloud hosting then your website is hosted not only on one but on several servers connected to work as one. It is more reliable, fast and affordable too.