Parity is a method of detecting errors in data transmission.