Green: A
Violet: Q
Q = NOT A
You can adjust the threshold voltages by changing the characteristics of the two FETs on the right side.
The threshold voltages define at which voltage the output changes it's state.
Schmitt-Triggers are used to get a preciser output from a varying signal.