The (exclusive OR) gate produces a high output when the number of high inputs is odd.

The gate produces a high output when its input is low, and vice versa.

A basic gate produces a high output if any of its inputs are high.

The gate produces a low output if any of its inputs are high.