The OSI reference model has seven layers.
1Layers (top to bottom)
7 Application — HTTP, FTP, SMTP, DNS
6 Presentation — encryption, compression, formats
5 Session — dialogue control
4 Transport — TCP/UDP, segments, ports
3 Network — IP, routing, packets
2 Data link — MAC, switches, frames
1 Physical — bits, cables, hubs