You lose audio quality when converting to "lossy" formats (MP3, AAC, Ogg), but not to lossless formats (AIFF, WAVE, Apple Lossless, FLAC etc.).
That is, you will lose audio quality if you burn a CD with from AAC files and convert them back to AAC, but not if you convert back to AIFF or Apple...