The OSI Model: Seven Layers Explained

Why the OSI Model Exists

The OSI (Open Systems Interconnection) model breaks the enormous job of "getting data from one device to another" into seven smaller, independent layers. Each layer has one clear responsibility, and it only needs to talk to the layer directly above and below it - not to every other layer at once.

The Seven Layers, Top to Bottom

  7. Application   -  What the user's software actually needs (HTTP, email)
  6. Presentation   -  Data format, encryption, compression
  5. Session        -  Opening, managing and closing conversations
  4. Transport      -  Reliable delivery, ordering (TCP, UDP)
  3. Network        -  Addressing and routing between networks (IP)
  2. Data Link      -  Node-to-node delivery on the same local network
  1. Physical       -  Raw bits over a wire, fiber or radio signal

A common way to remember the order top-to-bottom: "All People Seem To Need Data Processing."

What Each Layer Actually Does

LayerDeals withExample
ApplicationUser-facing protocolsA browser requesting a web page
PresentationTranslating data into a common formatEncrypting data with TLS
SessionManaging a conversation's lifetimeKeeping a login session active
TransportEnd-to-end reliabilityTCP resending a lost segment
NetworkFinding a path across networksA router forwarding an IP packet
Data LinkDelivery on one local linkA switch forwarding an Ethernet frame
PhysicalActual signal transmissionVoltage changes on a copper cable

Why This Model Still Matters Today

Real-world networking (like the TCP/IP model, covered in the next topic) doesn't literally implement seven separate layers - but OSI remains the standard vocabulary for describing networking problems. Saying "this is a Layer 3 issue" instantly tells another engineer the problem is about routing/addressing, not cabling or application code.

Written by Lorens Mishra

Software Engineer Notes Management System Administrator

Discussion

0 comments
Sign in to join the discussion.

No comments yet. Be the first to say something.