The study of the structure of words, including how they are formed, their inflections and syntactical classification.