CD is, in principle, a file format (CDDA), but when you rip (copy) a CD to your computer, you can tell your copying program (ripper) what format you want to save in - WAV, FLAC, MP3 etc.
A DAC normally only understands linear, uncompressed PCM (and perhaps DSD), but the player software can...