Layering and encapsulation
The network's job is split into layers, application, transport, network, link and physical, each using only the one below, and on the way down each layer wraps what it was given in its own header, so a frame on the wire is an Ethernet header around an IP header around a TCP header around the application's bytes.