How does your computer gets an IP on the network?

All systems are connected to the internet via cables. Your devices connect to a router, and those routers connect to other routers through…