Ultimately, it is used to decrease hardware costs by condensing a failover cluster to a single machine. Thus decreasing costs dramatically while providing the same services. Server roles and features are generally designed to operate in isolation. For example, Windows Server 2019 requires a certificate authority and a domain controller to exist on independent servers with independent instances of windows server. This is because additional roles and features adds areas of potential failure as well as adding visible security risks (placing a certificate authority on a domain controller poses the potential for root access to the root certificate). This directly motivates demand for virtual private servers in order to retain conflicting server roles and features on a single hosting machine. Also, the advent of virtual machine encrypted networks decreases pass-through risks that might have otherwise discouraged VPS usage as a legitimate hosting server.
Shared hosting is cheap and allows you to install any gallery platform you wish if a hosting plan meets its requirements. But be careful and study your hosting provider’s Acceptable Use Policy thoroughly. The truth is, that even if they claim unlimited storage with their plans, they don’t want you to use much of it. On the contrary, they secretly hope that you will use less and they can host many other clients on the same server. For that reason, hosting providers usually put limitations on their policies (e.g. “no more than 10 GB for images,” etc.). So don’t be convinced that you have unlimited storage without first checking your shared hosting provider's policies or you will find your account suspended someday.
The answer to this question is a definitive “maybe.” Since you’re looking at this site, you might be a Web designer who has a few sites, an online portfolio, and a couple of long-standing clients whose sites you manage. Is a VPS for you? Well, you’ve most likely outgrown a shared platform, and as a professional, it won’t do to have your site run poorly because another site that you share a server with is using more than its fair share of resources. A dedicated server could be overkill – if you don’t need all the resources on a consistent basis, you may not be able to justify the expense.