Compressors are mechanical devices that compress gases. There are two main types - dynamic and positive displacement. Dynamic compressors include centrifugal and axial compressors, which use rotating impellers to add velocity and pressure. Positive displacement compressors trap a fixed amount of air and force it into the discharge pipe; types include rotary and reciprocating compressors. Reciprocating compressors use pistons driven by a crankshaft to compress gases. Selection depends on operating conditions like flow rate and pressure ratio. Applications include HVAC, refrigeration, and industrial processes.