An air compressor is a pneumatic device that transforms electricity (from an electric motor, diesel engine, or other engine, etc.) into potential energy stored in pressurized air (i.e., compressed air). An air compressor raises the pressure in a storage tank by using one of several techniques to drive more and more air into the container.