How Astro is built

I wanted to know what Astro does when we run astro build. Let's follow one page from its .astro file to the final HTML in dist.