Data compression reduces the size of a file, or groups of files of data by eliminating unnecessary information, such as blanks and redundant data.