What Is The Purpose Of A Comparator In Op Amps?

What Is The Purpose Of A Comparator In Op Amps? The Op-amp comparator compares one analogue voltage level with another analogue voltage level, or some preset reference voltage, VREF and produces an output signal based on this voltage comparison. What does a comparator circuit do? A comparator circuit compares two voltages and outputs either a