What is the term for the study of sound patterns in language?

What is the term for the study of sound patterns in language?

Explanation

Phonology: The study of how sounds function and pattern in particular languages, focusing on the rules and systems that govern sound combinations and their meanings.