The public_html folder is the document root for your primary domain name. This is where you put all website files you want to appear when someone types your main domain (the domain name you provided when you signed up for a hosting plan at HostGator).
When users visit your website, whatever is in the public_html folder will be shown to them in their browser. The public_html is the folder (or directory) where you would want to keep all website files you want to be pulled up when a user visits your website. For example, if you have a file called index.html, or any of the other default file names in the public_html folder, it will display that page.
Where is my public_html folder located?
The public_html folder is located within the File Manager of your cPanel.

