Phonology is the study of how languages systematically organize their speech sounds and focuses on how speech sounds change in a word or sentence.
PHONOLOGY | English meaning - Cambridge Dictionary