Yes, Grammar is the backbone of a language. So, to learn any language in a perfect way you should learn grammar first. With the knowledge of grammar you can present your thoughts and ideas in a organise way.