As Mandarin is a language, why Cantonese can't be?
In China, there are a lot of dialects. However, many of them are alike. But Cantonese is totally different! Cantonese has different grammar, different words and phrases and different pronunciations of words(totally different). Those 3 things are the most important things that make a language called/recognised as a language!