The data link layer is the second layer of the OSI model. It handles the data transfer between the network and physical layers. The data unit at the data link layer is called a frame. The data link layer receives data from the network layer. It adds the header and trailer to the data and passes the data to the physical layer.