how/network
Thousands of independent networks (AS) make up the internet. No one knows the whole map. Each AS just tells its neighbors what it can reach. Out of that comes all the routing on the planet.
The internet is not one big router. It is ~100,000 independent networks, each with its own operator (Google, Cloudflare, your ISP, a bank's corporate network). Each such network is called an AS (Autonomous System) and has its own number.
Between AS runs BGP (Border Gateway Protocol), the protocol that AS use to tell each other which prefixes they can deliver and over what path. From these announcements each AS builds its own picture of "how to reach any prefix in the internet".
Press ▶ to watch one prefix 1.1.1.0/24 spread
across a network of 5 AS, and how AS_PATH becomes the criterion for path selection.
AS1 is, for example, Cloudflare. They have the prefix
1.1.1.0/24. They are its owner and can officially announce it
anywhere.
The other 4 AS do not yet know how to reach it. Their
[[routing-table|routing tables]] hold no route to this
prefix. Until BGP announcements start, the internet does not know about
1.1.1.0/24.
recap
What to remember:
If you want to go deeper, there is the bgp article in the KB and the advanced lesson
advanced-08-bgp-minimal where you can set up a BGP session between two
containers.