Compact disc player

electronic device that plays audio compact discs

A CD player is a device that can read the binary data on a CD (compact disc) and turn that into sound waves.

A compact disc does not work without a CD player.
A portable CD player

A CD player has a laser and an optical sensor. A CD has tracks and bumps on the tracks. The CD player passes a laser beam along the track of the CD. The areas that are reflected (without the bumps) are 1s to the player and the areas that are reflected (with the bumps) are 0s to the player. When the 1's and 0's are added to the CD a complicated coding is used that enables error corrections to prevent the CD "skipping" in the event of a small scratch. The CD player converts the series of 1's and 0's into sound waves by sending a varying voltage into an amplifier which then drives a speaker. The conversion of digital data into an analogue signal is achieved through the use a matrix(maths not the movie), imaginary numbers and trigonometric functions.