Just like you can rip CDs to make mp3s, you can choose to create .flac files instead of .mp3.

Have a look here, here, and here.

There are plenty of player programs available. I like this one; it suits my needs. YMMV.