Dependency grammar is a syntactic structure that represents the relationships between words in a sentence as a set of binary dependencies, where one word is the head and the other is the dependent. This approach contrasts with phrase structure grammar, emphasizing the connections and functions between words rather than hierarchical phrase units.