The OSI Model
The OSI (Open Systems Interconnection) model is a conceptual framework used to understand and
standardize the functions of a networking system. It divides the process of communication into
seven layers, each with distinct responsibilities.
1. Physical Layer
2. Data Link Layer
3. Network Layer
4. Transport Layer
5. Session Layer
6. Presentation Layer
7. Application Layer
7. Application Layer
Provides services for end-user applications, such as email, web browsing, and file transfer.
6. Presentation Layer
Translates data between the application and network formats, handling encryption, compression,
and translation.
5. Session Layer
Manages sessions between applications, establishing, maintaining, and terminating
communication.
4. Transport Layer
Ensures reliable data transfer with error detection, correction, and flow control (e.g., TCP/UDP).
3. Network Layer
Handles logical addressing, routing, and forwarding of data packets (e.g., IP).
2. Data Link Layer
Provides node-to-node delivery, error detection, and organizes data into frames (e.g., Ethernet,
MAC addresses).
1. Physical Layer
Deals with physical transmission of raw bits over a medium, including cables, switches, and
electrical signals.