The study of the meanings of words and the ways in which they are related to one another in a language.