Two squares of 16 cells overlap in 6. Intersect keeps 6, union keeps 26, erase keeps 10.

An overlay tool takes two layers and writes a new one. Each tool keeps different pieces: intersect keeps the overlap, union keeps everything cut into pieces, erase keeps what the other layer does not cover, and clip draws the same shape as intersect but keeps only the input's attributes.