ARP (Address Resolution Protocol) maps logical IP addresses to physical MAC addresses. When a host wants to send data to another host locally, it first broadcasts an ARP request containing the target IP address. The target host responds with its MAC address in an ARP reply, which the requesting host uses to update its ARP table and directly address future communications.