Explain the z score in detail, from the mean to changing raw score into z scores and the other way around?

Explain the z score in detail, from the mean to changing raw score into z scores and the other way around?