We can classify compression by the why it employs redundancy or by the method it compresses the data.