The study of the internal structure of words and how they are formed from smaller units known as morphemes.