The OSI (Open Systems Interconnection) model has 7 layers: Physical, Data Link, Network, Transport, Session, Presentation, and Application. This model standardizes network communication functions into different layers, making it easier to understand and troubleshoot networking issues.