A computer network can be described as two or more computing devices that are interconnected in order for them to communicate and transmit data with each other. At the top of the network is the modem. This is a device that is generally provided to you by your Internet Service Provider (ISP), and it’s what connects your internal local network to your ISP’s network and public internet.
The internet router, which acts as the main hub for all incoming and outgoing traffic, identifies all of the computers and devices in your network by assigning a unique number to each one. That number is called an IP address. The router also manages and keeps track of all the information that those computers and devices send and receive. Finally, the switch is responsible for distributing signals to all of the computers and devices within your network. Nowadays most modems have a built-in router/switch.
Now, how exactly do all of these devices work in conjunction to send information from the internet into your devices, and how does it enable your computers to share information with each other?