A compressor is a device used in audio production to control the dynamic range of sound. It reduces the difference between the loudest and softest parts of an audio signal by attenuating the signal level when it exceeds a certain threshold.