If i use a child theme to add new code blocks to header.php, how does it get inserted in the right place in parent’s header.php?

If i use a child theme to add new code blocks to header.php, how does it get inserted in the right place in parent’s header.php?