Weird Electrical/Brake Question

it lights the same bulb on the dash,only it does it if you lose brake pressure