It converts analog to digital. The two transistors(emitters to source) on the left is two digital inverters(analog to digital) and the two transistors(collectors to source) on the right amplifies to the output of the green LED.
BLUE------ANALOG
GREEN---DIGITAL