Lossy compression, one type of file compression, is most commonly used to compress audio, video, and images by removing unnecessary bits of information from these files.