Computer network and types

What is a Computer Network?

A computer network is a group of two or more computers and devices that are connected together to share data, resources, and information.
These resources can include files, printers, internet connections, software, and communication services.

https://assets.bytebytego.com/diagrams/0405-wan-lan-pan-man-explained.png
https://images.openai.com/static-rsc-3/4zl8YWgbGVpmvHbQ_HUwE-I1gzU1-eYA0ucbZbLz0AaPaDvFx2ps8vm2aTp6ydYccOm4Wi1B_xQvKGlp_PtVSCMcJCSw1Q3zf3FVbA2tR4w?purpose=fullsize

In simple words:
👉 When computers are connected so they can talk to each other, it is called a network.


🔹 Why Do We Need Computer Networks?

Computer networks help us to:

  • Share files and data easily
  • Use the internet
  • Share hardware like printers and scanners
  • Communicate through email, chat, and video calls
  • Centralize data for security and backup

🧩 Basic Components of a Network

  • Devices: Computer, laptop, mobile, server
  • Networking Devices: Router, switch, hub, modem
  • Transmission Media: Cable (LAN), WiFi (wireless)
  • Protocols: Rules for communication (TCP/IP, HTTP)

🏷️ Types of Computer Networks (Full Details)

1️⃣ LAN (Local Area Network)

https://images.openai.com/static-rsc-3/-DPn7dLELjg_X6lXmHFwul8gfxN3RPJboleXU7HpE33kpZEcD_qQdq91w2Q_PRW5PCf5o-tGJ9w3ID_-qSR86IqZiA0lfa1Il7Wtc4DA08A?purpose=fullsize
https://upload.wikimedia.org/wikipedia/commons/a/ad/Home_LAN_local_area_network_example_diagram.png

LAN is a network that covers a small geographical area such as a home, school, office, or building.

Features:

  • High speed
  • Low cost
  • Limited area

Examples:

  • Office computers connected together
  • School computer lab

2️⃣ WAN (Wide Area Network)

https://images.edrawsoft.com/articles/wan-diagram-examples/example4.png
https://www.sangfor.com/sites/default/files/inline-images/example2.png
https://upload.wikimedia.org/wikipedia/commons/6/6e/LAN_WAN_scheme.svg

WAN covers a large geographical area, such as cities, countries, or even the whole world.

Features:

  • Covers long distances
  • Uses public networks
  • Slower than LAN (comparatively)

Example:

  • The Internet is the largest WAN

3️⃣ MAN (Metropolitan Area Network)

https://images.wondershare.com/edrawmax/article2023/metropolitan-area-network/article-header.jpg
https://www.conceptdraw.com/How-To-Guide/picture/metropolitan-area-networks.png

MAN covers a city or large campus area.

Features:

  • Larger than LAN, smaller than WAN
  • High-speed data transfer

Examples:

  • Cable TV network in a city
  • University campus network

4️⃣ PAN (Personal Area Network)

https://www.scaler.com/topics/images/pan-diagram.webp
https://www.whatismyip.com/static/75ab1aeb8b19086c9d087ce3dcd689c8/personal-area-network-pan.webp

PAN is used for personal devices within a very short range.

Features:

  • Very small area (few meters)
  • Uses Bluetooth or USB

Examples:

  • Mobile connected to earbuds
  • Laptop connected to smartphone hotspot

5️⃣ WLAN (Wireless Local Area Network)

https://images.openai.com/static-rsc-3/FKj9o5XJbQ8zzUrjaB5Zj8CNNw8NhagsgL55oLptSEKI8KQtSXC6NjSg2tnQHow-5zi5CGOjFl04KR-0LJL8Ul-Ad5xjZ1pVnYpoENyPsMQ?purpose=fullsize
https://images.openai.com/static-rsc-3/vC7f2ZtXoG5xzqFAhAK4Al7bpIFCkOsINGme07m9zhgPEQtPbICKTGQ32V5i0XPdM5QlidRNYPvXEsXcqNaoZuZGLSZMb2NrykzM1Dt2yg0?purpose=fullsize

WLAN is a type of LAN that uses wireless (WiFi) instead of cables.

Features:

  • No cables required
  • Easy to install
  • Uses WiFi router

Examples:

  • Home WiFi
  • Café or hotel WiFi

📊 Comparison Table (Quick Revision)

Network TypeFull FormArea CoveredExample
PANPersonal Area NetworkFew metersBluetooth
LANLocal Area NetworkBuildingOffice
MANMetropolitan Area NetworkCityCable TV
WANWide Area NetworkCountry/WorldInternet