The primary difference between CDs and DVDs lies in their physical structure and the technology used to read and write data. DVDs utilize shorter wavelength lasers, allowing for smaller pits and closer spacing of data tracks, resulting in a higher storage capacity compared to CDs. When comparing recordable formats, such as CD-R and DVD-R, the main distinction is the photosensitive dye used, which reacts differently to laser writing and reading processes. For rewritable formats, CD-RW and DVD-RW differ in the alloys used; CD-RW employs a method that allows the crystalline structure to be reformed for reflectivity, while DVD-RW uses a lower frequency wobble technique, compared to the higher frequency wobble of DVD+RW and DVD-RAM, which enhances data integrity and includes improved error correction features.