An air compressor is a machine that takes ambient air from the surroundings and discharges it at a higher pressure. It is an application of a gas compressor and a pneumatic device that converts mechanical power (from an electric motor, diesel or gasoline engine, etc.) into potential energy stored in compressed air, which has many uses. A common application is to compress air into a storage tank, for immediate or later use. When the delivery pressure reaches its set upper limit, the compressor is shut off, or the excess air is released through an overpressure valve. The compressed air is stored in the tank until it is needed.[1] The pressure energy provided by the compressed air can be used for a variety of applications such as pneumatic tools as it is released. When tank pressure reaches its lower limit, the air compressor turns on again and re-pressurizes the tank. A compressor is different from a pump because it works on a gas, while pumps work on a liquid.