Well, unless you actually want to host your site off of your own computer which would need to be constantly on and connected to the internet you would need webhosting for people to access your site. Basically when you pay for webhosting someone hosts your site on their machines which are constantly on and connected online. They allow people to see your site online.