An air brake governor regulates air system pressure. Because the compressor spins constantly, it would build dangerous pressures if left unchecked. The governor connects directly to the wet air tank. When pressure hits the cutout limit (usually 120 to 130 PSI), the governor directs air to the compressor's unloader valves, stopping it from pumping. When you use the brakes and pressure drops to the cut-in limit (typically 100 PSI), the governor exhausts this control air, letting the compressor pump again.
Governors are simple, reliable devices, but they can clog with moisture and oil sludge. If a governor sticks, the system might overpressurize and pop the safety relief valve, or fail to build pressure at all, leaving you with locked parking brakes.