What are Drive Speed when burning files in CD/ DVD

I’m just wondering what does 32x, 16x etc. that you can see on the option when burning files in CDs/DVDs? I know that these are drive speeds but what are the differences between these speeds when burning data, mp3 etc. does it affects the files being written? If it does, what are the safe drive speeds when burning into CD/DVD?
