The explanation for why we use index.html
All web servers are configured to recognize the index.html file
The main index file is what loads when a specific file name is not given in the URL.
Without an index.html file, a user will get a 404 error response when browsing the directory.
Hence, all directories & sub-directories containing HTML should have an index file.