SpaceX Interview Question

How does a pressure sensor work? (not just how you would use it but the internal workings)