The study of sounds and sound patterns in language, including the production and perception of speech sounds.