When tank pressure reaches its lower limit, the air compressor turns on again and re-pressurizes the tank. An air compressor must be differentiated from a pump because it works for any gas/air, while pumps work on a liquid. How Air Compressors Function. Air compressors can power a variety of work, from inflating a tire to operating a nail gun.