When you stream music that's encoded using a lossless codec what goes to your DAC is identical to what comes from a CD. When you stream from a free streaming service there's a good chance that you're getting a compressed stream that has lower quality. I rip CDs to WAV format, which saves music in exactly the same format it has on the CD. And as far as I can tell it sounds the same when I play it.
CD transport vs.streaming
Many have stated on this forum that the SQ from their CDs is superior to the sound from streaming sources. Others have said the opposite. Weirdly, in side by side identical tracks the sound from my Cyrus CDt sounds identical to my Cambridge CXN v2 streamer. I wonder if anyone else has this experience.