No, grammar and punctuation are not the same thing. Grammar is a set of rules for the structure and composition of words and phrases to form correct sentences. It concerns itself with the way sentences are formed and how words are used in relation to one another. Punctuation on the other hand, are marks such as commas, periods, and quotations which are used to separate phrases or sentences, and can also be used to convey pauses, or to express emphasis or mood. Thus, grammar and punctuation are two distinct concepts, but they both play an important role in written communication.