The term "data compression" is used to describe a method by which information in a file is manipulated to produce a smaller file. There are two types of data compression- lossy and lossless.