Etymology is the study of the origin and history of words, tracing how words change over time, where they came from, and how their meanings evolved.