The OSI reference model consists of 7 layers: Physical, Data Link, Network, Transport, Session, Presentation, and Application. Each layer has specific functions in network communication, from physical bit transmission (Layer 1) to application-level services (Layer 7).