This is a conditional texture node for altering a given texture input A based on another texture input B. In its simplest form, the Comparison Texture is used to select between two alternative textures at rendertime.

In the example below, the result will be Black since inputs A and B are the same (equal) and it evaluates to true for the second condition.