"A Schmitt trigger produces an output with abrupt transitions, regardless of the speed of the input waveform"
This is a simplified version of the Schmitt trigger circuit. The complete circuit with BJT transistors can be found in wikipedia: https://en.wikipedia.org/wiki/Schmitt_trigger