Googlebot sees your website as a bunch of HTML code and links. It uses the code to understand what your website is about. It uses the links to discover and crawl other pages of your website.