Purpose Of Hamming Code, Hamming code is used to detect and correct the error in the transmitted data.