Lutron Electronics Interview Question

How does a dimmer switch work?