The core of the whole circuit anti-grab bag alarm is the operational amplifier IC CA3140 (IC1) configured as a comparator.Two inputs (inverse and in-phase) are provided to the op amp's pins 3 and 2, respectively, and the output is obtained from pin 6.