Question: how error detection and correction is done?
Answer: The additional bits are called parity bits. They allow detection or correction of the errors. The data bits along with the parity bits form a code word.