An air compressor is a device that converts power (usually from an electric motor, a diesel engine or a gasoline engine) into potential energy stored in pressurized air (i.e., compressed air). By one of several methods, an air compressor forces more and more air into a storage tank, increasing the pressure. When the desired pressure is reached, the air compressor shuts off and the tank pressure begins to equalize with atmospheric pressure.