Mandarin is the official language of modern China.
It is built on the basis of the northern dialect, which has a mature grammar and spelling rules.Mandarin is composed of Chinese characters, but also has the pinyin.Pinyin can help us to read a word, it has four tones, for example:
ā á ǎ à
ō ó ǒ ò
ē é ě è
ī í ǐ ì
if you learned the basis of the phonetic alphabet and tone, you can read mandarin.
Therefore, learning pinyin is the basis of learning mandarin.
After that you should learn Chinese characters and grammar.
Hope this will help you.