Hosting refers to the platform(space/resources) to hold your code.
Deploying is Moving your code into that platform, so that its available on the internet.
For example, if you have a HTML file and you are going to host it in a cloud server like google,AWS... Uploading your code(HTML file) into the server is deploying. The cloud server stores your html file and serves it, this is hosting.