Music is encoded on a CD in digital form as a stream of binary digits or bits. A typical CD may have as many as a million errors.
Here's the best and relatively non-technical explanation of why that's not a problem:
Consider an array of 4 disk drives, a Redundant Array of Independent Drives or RAID. I write data on the first 3, and on the 4th and calculate the parity (parity is calculated from the sum of the data bits, and is either even, 0, or odd, 1. So, writing 001 sums odd, so the parity is 1, writing 011 sums even, so its parity is 0). When I read the data, if the read sum doesn't match the parity, say 011 is misread as 010, then the parity check algorithm determines the error and corrects it.
N.B. Modern disk arrays, as used by a streaming service for example, contain hundreds or even thousands of drives and might use striping across as many as twenty or more drives with double parity bit error correction built in. They continue to operate flawlessly even when one or two disks fail completely. And with a thousand or two thousand drives per array, individual drive failures are common.