Layer 2 of the OSI model is the Data Link layer. It is responsible for providing the means to deliver data across a physical link using various protocols for data communication such as Ethernet, Token Ring, Asynchronous Transfer Mode (ATM), and Fiber Distributed Data Interface (FDDI). It also provides physical addressing, error detection, and flow control.