OSI Model Explained
7. Application Layer
Provides network services directly to end-users and applications. Examples: HTTP, FTP, SMTP,
DNS.
6. Presentation Layer
Translates data between the application layer and the network format. It handles data encryption,
compression, and translation. Examples: JPEG, MPEG, SSL/TLS.
5. Session Layer
Manages sessions or connections between applications. It establishes, maintains, and terminates
sessions. Examples: NetBIOS, PPTP.
4. Transport Layer
Provides reliable data transfer and error recovery. It ensures complete data transfer. Examples:
TCP, UDP.
3. Network Layer
Handles logical addressing and routing of data. Determines the best path for data delivery.
Examples: IP, ICMP, IPsec.
2. Data Link Layer
Provides node-to-node data transfer. It handles MAC addressing and error detection. Examples:
Ethernet, PPP, Switches.
1. Physical Layer
Transmits raw bitstream over the physical medium. Includes hardware elements like cables,
switches, and NICs. Examples: Ethernet cables, Fiber optics, Hubs.