The brakelight switch signals varies controls modules (ABS, cruise control, etc.) when the brake pedal is engaged.