When you create a website or blog, all its contents like images, videos, pages etc. have to be stored in the server so that other people can access it through internet. Web hosting is a type of service that allows us to upload our website to the Internet.
For website hosting, we need a powerful server which should always be connected to the internet so that our website is available for 24 hours to the users without any problem. Since we cannot maintain this type of server ourselves because its maintenance cost is very high, so we resort to web hosting companies for website hosting.
Web hosting companies have their own powerful servers, technology and technical staff. We buy hosting service from them according to monthly or yearly package and we get space in their server where we can easily host our website.