What is responsible for the brake lights not working in an Audi A4?

first id check the fuse if that's ok there should be a switch at the top of the brake pedal so when u press the brake the switch opens and brake lights work this is adjustable and may need adjusting failing that it could need replacing.Also be sure all of your brake light bulbs are not burned out. This can happen with any car (and happens fairly often).