Pivoting is essentially the idea of moving to other networks through a compromised host to find more targets on different network segments.
Pivot HostProxyFootholdBeach Head systemJump Host
Tunneling, on the other hand, is a subset of pivoting. Tunneling encapsulates network traffic into another protocol and routes traffic through it.