from what i remember in school, a comparator basically has 2 inputs, 1 which is the reference voltage, and the other comes from somewhere else and whichever is higher, is the voltage used for the next part in the circuit. is it that easy though? where would a comparator be used? i guess i'm wondering if i've ever dealt with a comparator and not realized it.