The OSI model’s Layer 2 allows a device to connect to the network and to send and receive messages while providing a physical address so that a device’s data may be delivered over the network.
This layer works with a device’s networking software while sending and receiving messages and provides error detection. Bridges, intelligent hubs and NIC cards are associated with the data link layer.