How Digital Data Works

Req 3e — Computer Networks

3e.
Explain what a computer network is and the difference between a local area network (LAN) versus a wide area network (WAN).

When you send a text to a friend across town or share a file with your patrol over Wi-Fi, you are using a computer network. Networks are the invisible highways that let devices share data, resources, and communication — and understanding how they work is fundamental to understanding the digital world.

What Is a Computer Network?

A computer network is two or more devices connected together so they can share data and resources. That is the simplest definition, and it covers everything from two laptops connected by a single cable to the billions of devices linked through the internet.

Networks need three things to function:

  1. Devices (also called nodes or hosts) — computers, phones, printers, servers, or any hardware that sends or receives data
  2. A connection medium — the physical or wireless link between devices (Ethernet cables, Wi-Fi radio waves, fiber-optic cables)
  3. Protocols — shared rules that govern how data is packaged, addressed, sent, and received (the most common set is TCP/IP, which is the foundation of the internet)

LAN: Local Area Network

A Local Area Network (LAN) connects devices in a small, defined area — your home, a classroom, a Scout meeting hall, or a single building.

Characteristics of a LAN:

Everyday LAN examples:

WAN: Wide Area Network

A Wide Area Network (WAN) connects devices or networks across large geographic areas — cities, states, countries, or the entire globe. The internet itself is the largest WAN ever built.

Characteristics of a WAN:

Everyday WAN examples:

Network diagram showing two houses with devices connected via LAN routers, linked through the internet WAN cloud

LAN vs. WAN at a Glance

FeatureLANWAN
Area coveredSingle building or campusCities, countries, worldwide
Owned byIndividual or single organizationTelecom providers or shared infrastructure
SpeedVery high (1–10 Gbps typical)Varies (10 Mbps to 10 Gbps)
CostLow (your router costs ~$50–$200)High (undersea cables cost hundreds of millions)
ExampleYour home Wi-FiThe internet
LatencyVery low (under 1 ms)Higher (10–100+ ms depending on distance)

How LANs and WANs Work Together

Here is what happens when you load a webpage:

  1. Your laptop sends a request over your home LAN (via Wi-Fi to your router)
  2. Your router forwards the request to your internet service provider through your WAN connection (cable, fiber, or DSL modem)
  3. The ISP routes the request through the internet backbone (the global WAN) — possibly across undersea fiber-optic cables
  4. The request reaches the web server (which is on its own LAN in a data center)
  5. The server sends the webpage back along the reverse path

This entire round trip typically takes less than a second — even when the server is on another continent.

Submarine Cable Map An interactive map showing every undersea internet cable in the world — zoom in to see the cables that connect continents and carry the internet's data.

You have now covered all the fundamentals of digital data — how it is stored, compressed, processed, and transmitted. Time to move into the world of software and learn how the programs running on your devices actually work.