Consonance is a literary device where the repetition of consonant sounds occurs in close proximity, often within a line or phrase. It adds a pleasing and rhythmic quality to writing.
Here are some examples of consonance:
* "Peter Piper picked a peck of pickled peppers." (repetition of the /p/ sound)
* "The silken sad uncertain rustling of each purple curtain." (repetition of the /s/ and /r/ sounds)
It's important to note that consonance involves the sound of the consonant, not necessarily the actual letter. For instance, the words "knife" and "life" share the same consonant sound (/f/) even though they are spelled differently.