Ever Wondered What Happens When You Click “Send”?


Meet the 7 Secret Agents of the Internet (aka The OSI Model)
Imagine you type a message: “Let’s meet at 8. 🌐” You hit Send.
Seems simple, right?
But under the hood… that tiny message sparks a 7-layer spy mission, and each layer adds its own disguise, encryption, and GPS just to get your data safely to its destination.
Let me walk you through the James Bond-level operation that happens every single time you use the internet 👇
🎩 Layer 7 — The Application (The Diplomat)
This is where you interact with the internet using Chrome, WhatsApp, Gmail, etc. It politely asks: “Hey, I want this webpage!” No magic here just the human side of the operation.
🎭 Layer 6 — The Presentation (The Translator)
Now your message is dressed up, encrypted, or compressed. Think of it as converting languages, encoding emojis, decrypting files making sure both ends understand each other.
🪜 Layer 5 — The Session (The Coordinator)
Ever had your Zoom session randomly freeze? That’s this layer’s territory. It opens, maintains, and closes conversations between apps. Like a good host, it makes sure both parties are still talking and no one’s left hanging.
📦 Layer 4 — The Transport (The Bodyguard)
Your message? Now broken into segments, each labeled with numbers and armed with TCP or UDP headers. This ensures every piece arrives in the right order, without duplication, and safely.
🧭 Layer 3 — The Network (The Navigator)
This is the IP layer the Google Maps of the internet. Adds source and destination IP addresses, so routers can get your message across the world, if needed.
🏢 Layer 2 — The Data Link (The Local Post Office)
Now we’re at your building’s address aka the MAC address. Here, the message becomes a frame with a header (source + destination MAC) and a trailer for error checking. Switches operate here, delivering data locally.
⚡ Layer 1 — The Physical (The Muscle)
Lights, electricity, and signals. This layer turns your data into raw bits (1s and 0s) and sends them through cables, fiber optics, or Wi-Fi. Without it? Nothing moves.
🧠 Devices like:
Hubs, modems, media converters
And physical stuff like cables, jacks, patch panels all live here.
🎬 Plot Twist: It’s Not Over Yet…
All that effort? Just to send your message!
When the data reaches its destination (maybe a server in Singapore), it climbs back up the OSI tower in reverse.
This is called de-encapsulation where each layer removes its piece, like unwrapping a carefully packed gift 🎁
🛰 Example: From PC to Web Server
You request a webpage 👉 Goes down all 7 layers
hits your switch (reads MAC address)
hits the router (reads IP)
travels to the other network
switch routes it to the server
server unwraps, reads it
sends the reply using the exact same path backwards!
It’s like FedEx for your data but smarter.
🎯 So, Why Should You Care?
You’ll understand what happens when “the internet’s slow”
You’ll troubleshoot issues like a boss
You’ll speak the same language as IT, cybersecurity, and DevOps pros
You’ll sound 10x smarter in tech meetings (and actually be smarter)
🧠 TL;DR
The OSI Model is the unsung hero behind every text, email, meme, and cat video.
It’s not just theory it’s the foundation of modern networking.
If you’ve made it this far, congrats you now understand how the internet really works.
Let’s connect on LinkedIn for more tech insights and collaborations.
#Networking #OSIModel #TechExplained #Cybersecurity #DevOps #TechSimplified #Encapsulation #DeEncapsulation #Layer1To7
Subscribe to my newsletter
Read articles from Anik Sikder directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by

Anik Sikder
Anik Sikder
Full-Stack Developer & Tech Writer specializing in Python (Django, FastAPI, Flask) and JavaScript (React, Next.js, Node.js). I build fast, scalable web apps and share practical insights on backend architecture, frontend performance, APIs, and Web3 integration. Available for freelance and remote roles.