The OSI model defines a seven-layer framework for networking protocols. The seven layers are the physical layer, data link layer, network layer, transport layer, session layer, presentation layer, and application layer. Each layer provides services to the layer above it and receives services from the layer below it. The physical layer transmits raw bits of data and defines electrical and physical specifications. The upper layers provide increasing abstraction from the underlying hardware.