Definition
Web hosting is the service that stores a website's files, HTML, images, code, and databases, on a server connected to the internet and delivers them to anyone who types in the domain. A DNS record points the domain at the host's IP address; when a browser requests the site, the server answers with an HTTP response containing the pages. Hosting is what keeps a site reachable around the clock, with providers typically guaranteeing uptime near 99.9 percent. Shared hosting puts many sites on one machine for about 2 to 5 USD a month; VPS and cloud hosting give dedicated, scalable resources for roughly 5 to 50 USD; dedicated servers hand over a whole machine from about 80 USD up. The right tier depends on expected traffic, performance needs, and how much server management you want handled for you versus doing yourself.
How it works
Every website is a collection of files (HTML, images, code, a database) that has to live somewhere always-on and connected to the internet. A web host runs the servers that store those files, keeps them online, and answers visitor requests. You point your domain name at the host, upload your site, and the host delivers it to browsers worldwide.
Why it matters
Your host determines how fast your site loads, how much traffic it can handle, how often it stays online, and how secure it is. A slow or unreliable host costs you visitors and search rankings no matter how good the site itself is. Choosing the right type and provider is the foundation every other decision sits on.