A local network (LAN) joins devices in one place: a home, an office floor. Every network card has a MAC address, a 48-bit hardware address written as six hex pairs, such as AA:BB:CC:00:00:0A. (These example addresses are made up.) On Ethernet, data travels in frames, and every frame names a destination MAC and a source MAC.
Here four computers, A to D, are cabled to one central box. At this level an address like 192.168.1.10 is an IP address, which belongs to the network layer. The MAC address is the one the local wire uses. The central box decides how a frame from A reaches B. Which kind of box it is turns out to matter a great deal.
💡Good to know
A MAC address names a network card. An IP address names a place in a network. Both are in play.