Keysight Technologies Interview Question

Explain how an oscilloscope works