What is data compression? Data compression is a reduction in the number of BIT needed to represent data. Compressing data can save storage capacity, speed up file transfer, and decrease…