On a truck with air brakes, the braking system’s air compressor:

In an air brake system, the air compressor pumps air into the air storage tanks. The air compressor is controlled by the air compressor governor.