What Is Computer Networking?
Computer networking is the practice of connecting two or more devices so they can exchange data and share resources and services, using shared, agreed-upon protocols. Data typically travels as packets that carry content plus addressing information, and the same principle scales from a two-device home network up to the global internet.
Computer networking is the design and use of systems that let computers communicate with each other, whether that's two laptops in the same room or two servers on opposite sides of the planet. Every time a browser loads a page, a phone sends a message, or a game connects to a multiplayer server, computer networking is what's making that connection possible underneath.
What a network actually is
At its simplest, a network is just two or more devices connected in a way that lets them exchange data. That connection can be physical (an ethernet cable) or wireless (WiFi, cellular radio), but either way, the devices need a shared, agreed-upon way of formatting and interpreting the data they send, which is what network protocols provide.
Why networking exists at all
Before networks were common, computers were isolated: moving data from one machine to another meant physically carrying a disk between them. Networking removed that constraint entirely, letting data move between machines instantly and letting many machines share expensive or centralized resources (a printer, a database, an internet connection) instead of each needing its own.
A worked example: sending a message across a network
Say a laptop wants to load a webpage from a server. The laptop's browser breaks the request into small units called packets, each carrying a bit of the request along with addressing information (where it's going, where it came from). Those packets travel across the network, possibly through several intermediate devices (routers, switches) that each read the addressing information and forward the packet closer to its destination, until it arrives at the server. The server processes the request and sends its response back the same way, in packets, which the laptop reassembles into the full webpage.
Where this matters in real systems
Every layer of the modern internet, home WiFi, corporate office networks, mobile data, undersea fiber cables connecting continents, is fundamentally the same idea applied at different scales: devices agreeing on shared protocols to exchange data reliably. The specific protocols and hardware differ enormously between a two-device home network and the backbone infrastructure connecting entire countries, but the underlying goal, letting separate machines communicate, is identical.
What interviewers actually ask about computer networking basics
- "What is a computer network, in one sentence?" Two or more devices connected in a way that lets them exchange data using shared protocols.
- "Why do networks use packets instead of sending data as one continuous stream?" Breaking data into packets lets multiple devices share network capacity fairly, lets packets take different paths and arrive out of order and still be reassembled, and lets a network recover from a lost or corrupted piece of data by only needing to resend that one packet.
- "What's the difference between a protocol and a network?" A network is the physical/logical connection between devices; a protocol is the agreed-upon set of rules those devices use to format and interpret the data they send over that connection.
- "Give an example of why networking matters in practice." Any answer showing a real, concrete use case works here, like a browser loading a webpage, which requires establishing a connection, sending a formatted request, and receiving a formatted response, all governed by shared protocols.
Key takeaways
- Computer networking connects devices so they can exchange data using shared, agreed-upon protocols.
- Data typically travels as packets, small units carrying both content and addressing information.
- Networking exists to let machines communicate instantly and share resources instead of working in isolation.
- The same basic principle, shared protocols enabling communication, scales from a two-device home network up to the global internet.
More in Basics
Browse all Computer Networks topics
Log in to save which topics you've read across every subject.
Frequently asked questions
What is a computer network, in one sentence?
Two or more devices connected in a way that lets them exchange data using shared protocols.
Why do networks use packets instead of sending data as one continuous stream?
Breaking data into packets lets multiple devices share network capacity fairly, lets packets take different paths and arrive out of order and still be reassembled, and lets a network recover from a lost or corrupted piece of data by only needing to resend that one packet.
What's the difference between a protocol and a network?
A network is the physical/logical connection between devices; a protocol is the agreed-upon set of rules those devices use to format and interpret the data they send over that connection.
Give an example of why networking matters in practice.
Any answer showing a real, concrete use case works here, like a browser loading a webpage, which requires establishing a connection, sending a formatted request, and receiving a formatted response, all governed by shared protocols.