Grammar is the study of words, how they are used in sentences, and how they change in different situations. The Ancient Greeks used to call it "grammatikē tékhnē", the craft of letters. It can have any of these meanings: