Shared hosting is a type of web hosting where many customers' websites run on the same physical server and share its processor, memory, disk space and network connection. The hosting company manages the server, the operating system and the security updates, and you get a control panel to upload files, create databases and set up email. It is the simplest and cheapest way to put a typical PHP and database site, such as a WordPress blog, online.
The trade-offs come from the sharing. Resources are divided among many accounts, so providers set limits on things like processes, memory and the number of files, and a busy neighbour can sometimes slow your site down. You normally cannot install your own server software or change deep settings, and you often cannot run long-lived processes such as a Node.js application.
For small sites with modest traffic, none of this matters much, and many run well for years. Problems tend to show up when traffic grows or the site does heavy work on each request. A caching plugin is often the first remedy, and moving to a larger plan, a virtual private server or a platform that builds pages ahead of time with static site generation are the next steps.
A common confusion is that shared hosting is the same as a bad host. Quality varies by provider and plan, and the limits, not the label, are what to check. Scheduled tasks are usually available as a cron job in the control panel, sometimes with a minimum interval.
An example: a small business site runs on a shared plan alongside hundreds of other sites on the same server.
Related: caching plugin, cron job, static site generation, Vercel, 301 redirect