Trapping is overlapping one color over a different, adjacent color so no white space shows where the two meet, especially when registration varies slightly during printing. It can also mean printing wet ink over wet or dry previously printed ink.
It prevents hairline gaps along the edges where two colors meet.
Related: Registration Overprinting