web hosting is basically the space that you buy on a webserver to store your website files. when you buy website hosting you basically rent server on a sever where your web files will be placed. So whenever somebody will look up for your website by entering your domain, he will get directed to your website. you can design a website on your own computer but unless you upload it on a hosting server it can never be accessed by anyone. If you have more information it please share.......