Shared hosting is a web hosting service where multiple websites share the same server resources, such as CPU, memory, and storage. It is an affordable option for small websites, but can have limitations in terms of performance and security as traffic grows.