phonologyparticularly
Phonology is a branch of linguistics that studies the sound systems of languages. It investigates how sounds are organized, how they function, and how they are used to distinguish meaning. Phonology examines the abstract, mental representations of speech sounds, known as phonemes, rather than the physical production of sounds, which is the domain of phonetics. Phonemes are the smallest units of sound that can differentiate words. For example, in English, the sounds /p/ and /b/ are phonemes because they distinguish words like "pat" and "bat."
Phonological rules describe the patterns and variations in how phonemes are realized in different phonetic environments.