When the brake pedal is depressed, air brakes work:

After the brake pedal is pushed down in a vehicle with air brakes, it takes a half-second or more for air to flow through the lines and make the brakes work. This contrasts with hydraulic brakes used in cars and light and medium trucks, which instantly begin working when the pedal is pushed.
DMV Writen Test