Yes, I think grammar is important when learning a foreign language. It gives structure to the language, which helps in forming sentences correctly. Good grammar makes communication clearer and more precise. Plus, understanding grammar can help with learning other parts of the language, like vocabulary. It's especially important for writing and formal communication.