Phonology refers to the sound system of a language and the rules governing the production and perception of speech sounds.