The study of the origin and history of words, including their semantic and structural changes over time.