Grammar governs the correct forms of words we use in writing. Syntax is about what words can go where in a sentence.