Here's how it works:
* Resistance: A dimmer switch uses a variable resistor.
* Voltage: The dimmer changes the resistance, which alters the voltage across the light bulb.
* Brightness: Lower voltage means less power to the bulb, resulting in a dimmer light.
Essentially, a dimmer switch acts like a valve, controlling the flow of electricity and thus the brightness of the light.