Encapsulation refers to the process of adding headers and trailers to data as it passes from higher to lower layers in a networking model. At each layer, additional headers are added containing information for that layer, and the data plus added headers are passed to the next lower layer. Decapsulation is the reverse process of removing these headers at each layer as data moves from lower to upper layers.