What does the air compressor governor do?

In an air brake system, the air compressor governor controls when the air compressor pumps air into the storage tanks. It stops pumping if the pressure in the tanks becomes too high, and begins pumping if the pressure becomes too low.
DMV Writen Test