check if the number of bits is even or odd to detect parity error occurred in the transmission. if the number of bits is even the data is correct otherwise error occurred in the transmission.