Final answer:
CD and DVD drives are housed in the drive bays of a computer. Drive bays provide a secure mounting and connection point for these peripherals within the computer's case. Option 3 is correct.
Step-by-step explanation:
The peripheral component that houses CD and DVD drives is the drive bays.
Neither USB ports, hard drives, nor card slots serve this purpose. Drive bays are designed to accommodate various types of drives within a computer's case, including CD and DVD drives.
These bays ensure the drive is securely mounted and connected to the motherboard for power and data transfer. A computer's case often includes multiple drive bays to allow for expansion and the addition of more drives.
Hence, CD and DVD drives are located in the drive bays of a computer. These drive bays serve as a secure mounting and connection point for these peripherals within the computer case. Option 3 is accurate.