An air compressor is a pneumatic device that converts power (from an electric motor, diesel, or gasoline engine) into stored potential energy in pressurized air (i.e., compressed air). An air compressor increases the pressure of a storage tank by forcing more and more air into it. The air compressor turns off when the pressure in the tank reaches its engineered top limit.