OSI Layer 2 is known as Data Link Layer. The Data Link layer PDU is known as frame. The Data Link layer performs two basic services:
1) Allows the upper layers to access the media using techniques such as framing.
2) Controls how data is placed onto the media and is received from the media using techniques such as media access control and error detection.