How does the air compressor start and stop automatically ?

The air reservoir has pressure switch which is set for cut-off and cut-in depending on the pressure desired. When the pressure drops below the cut-in setting, the switch energises the contactor coil and the compressor starts. When the pressure reaches the cut-off setting, thes witch opens its closed contact in series with the power circuit to contactor and cuts supply to the contactor.