Compression can refer to either dynamic range compression (DRC) or data compression. Data compression can also be either “lossless” or “lossy”. Lossless compression keeps all parts of the original file (.zip or .rar are examples) while lossy compression does not. For example, .mp3 files only have about 10% of the pre-encoding data. All of these types of compression are important to various stages of the home recording process in their own way. Learning about each may help you avoid some of their shortcomings.
You can read the full article here: http://productionadvice.co.uk/what-is-compression/