Simply put, web hosting is the process of buying or renting space (in the form of gigabytes or GBs) to display a website to the World Wide Web (WWW).
Your website’s content (text, images, videos, code) is what must be housed on a server in order for your website to be viewable to others online via a web browser.