With shared hosting, your website shares one server with other websites like an apartment building. It offers you less management flexibility, performance, bandwidth & more.
On the other hand, In VPS hosting, your website is on a virtual server. You still share the physical server with other websites, but resources are partitioned and dedicated to each user. So, you don’t need to worry about the bandwidth & storage in VPS hosting.