Compression reduces the size of a file so it takes up less space and downloads faster over the internet. Compressed files must be extracted before they can be read. Depending on the algorithm used, data is either lost, reducing the quality of an image or audio file (e.g., JPEG, MP3), or represented in a different way using binary, retaining the original data in a new, compressed format (e.g., ZIP).