The study of how speech sounds have evolved and changed over time in a language or group of languages.