media access control
Imagine a meeting where everyone shares one microphone, but only one person can be heard at a time. If two people grab it together, both come out garbled. The group needs a rule for who talks when. Media access control is that rule for a shared link: it is the part of the link layer that coordinates which device gets to transmit onto a medium that several devices share, so their signals do not collide into noise.
Networking textbooks split the link layer into two sublayers. The upper one, logical link control, handles framing, error checking, and (optionally) the reliable-delivery machinery — the things that matter regardless of who else is on the wire. The lower one, the MAC sublayer, handles the access question: on a point-to-point link with only two nodes there is nothing to coordinate, but on a broadcast medium shared by many — old coaxial Ethernet, Wi-Fi's airwaves, a cable network's upstream channel — the MAC sublayer runs a multiple access protocol to arbitrate turns. It is also where each device's flat, hardware-assigned MAC address is used to label the source and destination of each frame.
Why it matters: the access method largely determines how a shared link behaves under load. CSMA/CD (old Ethernet) lets stations talk freely and detect collisions; CSMA/CA (Wi-Fi) tries to avoid collisions because they cannot be reliably detected on radio; token passing hands around a permission token; TDMA and FDMA carve fixed slices. An honest clarification of a frequent mix-up: media access control the function (deciding who transmits) is a different thing from a MAC address the identifier (the 48-bit hardware label) — they share a name and a layer, but one is a procedure and the other is a number.
On a Wi-Fi network many laptops share one radio channel. Before transmitting, each runs the MAC sublayer's protocol (CSMA/CA): listen first, and if the air is busy, wait a random backoff before trying — so two stations are unlikely to start talking at the exact same instant.
The MAC sublayer decides who transmits and when on a shared medium.
Don't conflate the two MACs: media access control is the function (who may transmit), while a MAC address is an identifier (a 48-bit hardware label). Same name, same layer, different things.