Since so many hosting providers are also domain registrars, and both services are necessary to start a website, domain names and web hosting are commonly confused. They are, however, two distinct things.
Your domain is the address of your website. Your website's server, which is comparable to your website's home, is provided by your web host. Although you have the option of purchasing both hosting and a name from the same provider, you are not required to do so.