Air compressor is a device used to squeeze air into a smaller space, compressing it. When you squeeze a balloon, the air inside compresses, pushing back against your hand with force. Air compressors collect that force to power tools and other devices. ).
A common type of air compressor works on the same principle as a pump. A piston moves back and forth within a hollow cylinder, forcing air into a closed chamber. Pipes or hoses connected to the chamber channel the air to various devices.
Trains and heavy road vehicles have air compressors for powering their brakes (see Brake (Air brakes) ). Air compressors also provide the air that runs pneumatic (air-powered) tools in manufacturing plants, construction sites, and home workshops (see Pneumatic tool ). Such compressors may be driven by electric motors or by gasoline or diesel engines. Rotary (fan-type) compressors are used in gas turbines, jet engines, and other devices.