Data encapsulation is the process where data moving down the protocol stack is wrapped with protocol information at each layer. As application data passes to the transport layer, a TCP o UDP header is added. This segment is then passed to the internet layer, where an IP header is added to form a packet. Finally, the link layer adds its own header, creating a frame for transmission.
