As a static web site generator, hugo takes the site structure and the site content (in markdown format) and generates the complete web site. The web site - HTML, CSS, JS in a directory structure - is then copied to the web server. The web server then only serves static files, with no need to invoke scripts or to access a database.
As a static web site generator, hugo takes the site structure and the site content (in markdown format) and generates a static web site:
flowchart LR content[/"Site Content (Markdown)"/] structure[/"Site Structure (HTML, CSS, JS)"/] hugo["` **HUGO** ⚙️ `"] website[/"Complete Website with Content (HTML, CSS, JS)"/] content & structure --> hugo hugo --> website
Very simply said, Hugo solves the problem every web site (consisting of more than one page) has: Combining an overall Site structure, such as Header, Footer and especially a uniform Navigation, with the Site Contents.
Simple Site Structure
While Header, Navigation and Footer should stay stable, the Content needs to be replaced:
Combine Content Pages with Site Structure
This is, of course, a simplification. Note that I summarize site layout and css as site structure.