ARP maps IP addresses (Layer 3) to MAC addresses (Layer 2) to enable communication on local networks. When a device needs to send data to a local IP address, it broadcasts an ARP request to discover the corresponding MAC address. This resolution is essential for Ethernet communication.