a CD is used for writing data optically with a laser.