Historical phonetics examines changes in the sounds of languages over time and how they have evolved.