How does a Pressure Switch Work?

Pressure Switch usually includes Capacitive or Piezoelectric transducer. When pressure is applied, transducer gives signal and the switch toggles.