How Are Blocks Rendered on the Front End of a Site WordPress?

In order to render blocks on the front end of a WordPress site, the blocks are first cached by the WordPress site. Then, they are rendered using the WordPress template system. Blocks are rendered in the order they are defined in the wp-content/themes/default/template.php file.

If a block is defined in a file other than template.php, it is rendered after all blocks defined in template.php.