Allegro MicroSystems interview question

Explain a Schmitt-Trigger