A computer network is a system that allows computers and other devices to communicate and exchange data with one another.
At its simplest, a network connects two or more devices.
Your laptop connecting to a Wi-Fi router is a network.
Your phone communicating with a printer is a network.
Thousands of servers communicating across the internet form a much larger network.
The underlying idea is the same:
Devices → Communication → Data
But how does this communication actually happen?
From One Computer to Many
Imagine two computers connected with a cable.
One computer can send data to the other.
Now add a third computer.
Then a fourth.
Soon, we need mechanisms to determine:
- Who is sending?
- Who should receive the data?
- Where should the data go?
- How should the data be transmitted?
- What happens if the data is lost?
- How do different types of devices understand each other?
This is where networking becomes more than simply connecting cables.
A computer network is a combination of hardware, software, protocols, addressing, and communication mechanisms that allow devices to communicate reliably.
What Makes Up a Network?
A typical network can contain several components.
Devices
Computers, phones, servers, printers, cameras, IoT devices, and other systems can participate in a network.
Network Devices
Devices such as switches, routers, access points, and firewalls help connect, direct, control, and protect network traffic.
Transmission Medium
Data needs a way to travel.
It can move through:
- Ethernet cables
- Fiber-optic cables
- Radio waves
- Wi-Fi
- Cellular networks
- Other wireless technologies
Addresses
Devices need ways to identify where data should go.
Depending on the layer and technology, this can involve addresses such as MAC addresses and IP addresses.
Protocols
Devices need common rules for communication.
Protocols define how data is structured, transmitted, addressed, routed, and interpreted.
Examples include:
Ethernet, IP, TCP, UDP, HTTP, and DNS.
A Network Is More Than the Internet
The internet is the world's largest interconnected network, but not every network is the internet.
A company may have an internal network connecting its employees, servers, applications, and databases.
A home has its own local network.
A data center can contain thousands of interconnected machines.
Networks can also be connected to other networks.
This leads to an important idea:
The internet is essentially a network of networks.
What Happens When You Open a Website?
Consider a simple action:
You type:
into your browser.
What looks like one action involves many networking concepts working together.
Your computer needs to:
- Connect to a network.
- Obtain or use an IP configuration.
- Resolve the domain name through DNS.
- Determine where the destination server is.
- Send packets through the network.
- Allow routers to forward those packets toward the destination.
- Establish the appropriate transport connection.
- Communicate with the web server using HTTP or HTTPS.
- Receive the response.
- Reassemble and process the returned data.
All of this can happen within seconds.
The web page you see is therefore the visible result of a much deeper communication system.
Networks Have Different Scales
Networks can exist at very different scales.
A LAN (Local Area Network) might connect devices inside a home, office, or building.
A WAN (Wide Area Network) can connect networks across large geographical distances.
A data center may contain networks connecting thousands of servers.
The internet connects networks across the world.
The scale changes, but the fundamental problem remains:
How can one system communicate with another?
The Foundation of Modern Computing
Almost every modern software system depends on networking.
A mobile application communicates with APIs.
Microservices communicate with other services.
Databases communicate with applications.
Containers communicate with other containers.
Kubernetes manages workloads across networks.
Cloud platforms provide virtual networks connecting computing resources.
Distributed systems depend on machines communicating across potentially unreliable networks.
Even AI applications increasingly depend on networks to communicate with models, databases, APIs, GPUs, and other services.
So networking is not merely a separate infrastructure topic.
It is one of the foundations upon which modern software architecture is built.
A Useful Mental Model
You can think about networking as a journey:
Application
What does the application want to communicate?
↓
Protocol
How should the communication be structured?
↓
Addressing
Where should the data go?
↓
Routing
Which path should it take?
↓
Transmission
How does the data physically or wirelessly travel?
↓
Destination
How is the data received and interpreted?
This simple model will become increasingly important as we move deeper into networking.
We will eventually encounter Ethernet, MAC addresses, IP, TCP/UDP, DNS, HTTP, routing, switching, firewalls, proxies, load balancers, VPNs, cloud networking, containers, Kubernetes, and service-to-service communication.
The goal is not simply to memorize these technologies.
It is to understand how machines communicate.
Because once you understand that, a large part of modern infrastructure and software architecture starts to make sense.
Networking is the foundation of communication between computing systems.