Lossless compression is a class of data compression that allows the original data to be perfectly reconstructed from the compressed data with no loss of information.