CD is technically the best commercially available quality in terms of bits and hz (16 bit 44.1khz). Digital downloads tend to be sold as MP3 (some stores sell WAV's) but higher quality is available professionally but not as an end user product. When tracks are mastered (given some audio gloss...