What does an air compressor do in an air brake system?

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.