The study of the rules of sentence structure and how words are arranged to form grammatically correct sentences.