OSI Model (7 layers)
Theoretical guideline — not directly implemented
7 — Application
6 — Presentation
5 — Session
4 — Transport
3 — Network
2 — Data Link
1 — Physical
TCP/IP Stack (4–5 layers)
Practical standard — actually used on the internet
Application (L5–7)
↳ HTTP, HTTPS, DNS, TLS
↳ (incl. Presentation + Session)
Transport (TCP/UDP)
Internet / Network (IP)
Network Access (L1–2)
↳ Ethernet, Wi-Fi, MAC
Key insight: OSI is an abstract 7-layer reference model — it was designed to standardize how networks communicate. TCP/IP is the actual protocol suite that powers the internet, collapsing OSI layers 5–7 into one Application layer and layers 1–2 into one Network Access layer. In real deployments: your flask.opencodingsociety.com runs over TCP/IP on an AWS EC2 instance fronted by Nginx — no software directly "implements" OSI layers, but they help us reason about what happens at each level.