The brake light switch operates by a simple mechanical process. When the brake pedal is pressed, the switch gets compressed, completing an electrical circuit that powers the rear brake lights.