The OSI model breaks networking into seven distinct layers, each responsible for a specific function.

LayerNamePurposeExample Technologies
7ApplicationInterfaces with end-user applications (HTTP, FTP, email)HTTP, HTTPS, FTP, SMTP
6PresentationConverts data formats, encryption/decryptionSSL/TLS, ASCII, JPEG
5SessionManages connections between applicationsNetBIOS, RPC, SIP
4TransportHandles end-to-end communication and reliabilityTCP, UDP
3NetworkRoutes packets between different networksIP, ICMP, BGP, OSPF
2Data LinkTransfers frames within the same physical networkEthernet, Wi-Fi, ARP
1PhysicalDeals with hardware, cables, and signalsFiber optics, coaxial cables
Session (L5) is layer responsible for starting, maintaining and ending communication between devices. Like when you login to a remote server via SSH.
Examples include RDP, SSH, Websockets, streaming services, VoIP.

Networking