analog sound can be represented as a wave (think sine wav).
the different pitch and volume in the analog sound is represented by the wave's frequency and amplitude.
the wave is sampled (readings of amplitude and frequency) and converted into a digital format such as wav, mp3, wma or...