What Is a Network?
Every message you send, every video you stream, and every website you open travels across a network. Before we learn how, let us agree on what a network actually is.
In this lesson you will
- Define a computer network using two words: nodes and links
- Tell the difference between a client, a server, and a peer
- Understand why data travels in small pieces called packets
- See why the internet is called a network of networks
01Two devices and a connection
A computer network is two or more devices connected so they can exchange data. That is the whole definition. Your phone talking to your Wi-Fi router is a network. A stadium full of servers is a network. So is the planet-wide internet.
Engineers describe every network with two words:
- Nodes: anything that sends, receives, or forwards data. Laptops, phones, printers, smart TVs, routers, and servers are all nodes.
- Links: the paths between nodes. A link can be a copper cable, a strand of glass fiber, or a radio signal like Wi-Fi.
Think of a road system. Towns are the nodes, roads are the links, and the cars carrying parcels are your data. Traffic rules make sure parcels arrive at the right address. In networking, those rules are called protocols.
02Why we build networks
Networks exist to share. Before networks, moving a file meant carrying a disk from one desk to another. Today a network lets you share:
Information
Messages, files, web pages, video calls.
Resources
One printer, one storage box, or one internet connection for a whole family or office.
Services
Email, streaming, online banking, and cloud apps that run on computers far away.
03Clients, servers, and peers
Nodes play different roles in a conversation:
- A client asks for something. Your web browser is a client when it requests a page.
- A server answers. It is a program, usually running on a dedicated computer, that waits for requests and responds to them.
- In a peer-to-peer network, every device can be both: each peer asks and answers. File sharing between two laptops on the same Wi-Fi works this way.
Most of what you do online follows the client-server model: many clients, a few powerful servers.
Client: the laptop
The laptop's web browser asks a server for a page. Asking makes it a client.
Peer: the phone
When the phone sends a photo straight to the laptop on the same Wi-Fi, both devices act as equals. That is a peer-to-peer exchange.
Shared resource: the printer
One printer, used by every device on the network. Sharing resources is one of the oldest reasons to build a network.
Router: the junction
The router connects the home network to the internet and forwards data between them. You will meet it properly in Lesson 03.
The internet
Not one network but tens of thousands of independent networks that agreed to connect and use the same protocols.
Server: the web server
A program on a computer somewhere else that waits for requests and answers them, for example by sending back a web page.
04Data travels in packets
When you send a photo, the network does not push it down the wire as one giant block. It cuts the data into small pieces called packets. Each packet carries a slice of the data plus a label with the sender's and receiver's addresses.
Packets have three big advantages:
- Sharing the road. Packets from many people can take turns on the same link, so nobody blocks it.
- Finding a way around. If one path breaks, packets can take another.
- Cheap repairs. If one packet is lost, only that piece needs to be sent again, not the whole file.
- You tap Send on a 2 MB photo. To the network it is just a long string of data.
- Your phone cuts it into packets and writes the destination address on every one. Real photos become hundreds of packets. We show four.
- The packets reach your router, which forwards them toward the internet.
- Inside the internet, packets can take different paths and arrive in a different order. That is normal.
- Your friend's phone uses the numbers on each packet to put the photo back together in the right order.
05A network of networks
Your home network is small: a router and a handful of devices. Your Internet Service Provider (ISP) runs a much larger network. ISPs connect to other ISPs, to universities, to companies, and to cloud providers. Stitch all of those independent networks together and you get the internet: literally an interconnected set of networks.
No single company owns the internet. It works because every network agrees to speak the same protocols, which is what the rest of this course is about.
Bandwidth is how much data a link can carry per second, like the number of lanes on a road. It is measured in bits per second (Mbps, Gbps). Latency is how long one piece of data takes to arrive, like travel time. It is measured in milliseconds (ms). A link can have lots of bandwidth and still feel slow if latency is high.
06Why this matters for security
Everything an attacker does online also travels over a network. Understanding nodes, links, and packets is the first step to seeing where data can be read, changed, or blocked, and where a defender can protect it. Every lesson in this course ends with that lens.
Key takeaways
- A network is two or more devices (nodes) connected by links so they can exchange data.
- Clients ask, servers answer, and peers do both.
- Data is split into packets that can share links, take different paths, and be resent individually.
- The internet is a network of independent networks that all speak the same protocols.
- Bandwidth is capacity, and latency is delay.