Pinyin is phonics Chinese sound by using Latin alphabet instead Chinese alphabet But principle of using sounds is different from English. The sound that pinyin use is Mandarin Chinese sound.
Consonants
Pinyin consonants have 21 alphabets and combined vowel 2 alphabets.
Pinyin Vowels
Pinyin vowels have 6 basic vowels and haven 30 compound vowels.