The study of sentence structure, including word order, phrase structure, and grammatical relations between words.