Air compressor is a mechanical device that converts power, usually from an electric motor, gasoline engine, or diesel engine, into potential energy stored in compressed air. This compressed air can then be used for various industrial, commercial, and personal applications.