# OSI model

> The OSI model is a conceptual framework that describes how a network functions, split into seven layers.

- Source: https://www.itwonderlab.com/osi-model/
- Published: 2023-09-04
- Updated: 2026-10-05
- Author: Javier Ruiz Jiménez (https://www.javierruizjimenez.com/)
- Site: IT Wonder Lab (https://www.itwonderlab.com/)

---

## The 7 layers of the OSI model

The OSI model is a conceptual framework that is used to describe how a network functions. It identifies seven fundamental networking layers, from the physical hardware up to high-level software applications.

Each layer in the model handles a specific networking function. The standard helps administrators to visualize networks, isolate problems, and understand the use cases for new technologies.

| Layer | Name | Function |
| --- | --- | --- |
| 7 | Application | Provides services to user applications, such as web browsers, email clients, file transfer programs, etc. For example, **HTTP/HTTPS, SMTP, FTP, and DNS**. |
| 6 | Presentation | Translates data into a format that can be understood by the application layer. Handles encryption, compression, and character encoding. For example, TLS, MIME, JPEG, and ASCII. |
| 5 | Session | Establishes, maintains, and terminates sessions between nodes. Manages authentication and authorization. For example, RPC and NFS. |
| 4 | Transport | Provides reliable data transfer between nodes. Handles error detection, correction, and flow control. Uses protocols such as **TCP and UDP**. |
| 3 | Network | Routes data packets across different networks. Handles addressing and routing. Uses protocols such as IP and ICMP. |
| 2 | Data Link | Communicates between nodes that are directly connected in the same network. Handles frame synchronization and error detection. Uses protocols such as **Ethernet and WiFi**. |
| 1 | Physical | Transfers data as a stream of bits over a physical medium, such as a cable or wireless signal. Handles electrical signals and bit encoding. For example, Bluetooth, USB, DSL, and GSM. |
