What is Comparator?

Comparator definition and meaning on Dictionary terms:

any of various instruments for making comparisons, as of lengths or distances, tints of colors, etc.
Electronics. a circuit for comparing two signals, as readings of duplicate information stored in a digital computer, and for giving an indication of agreement or disagreement between them.