Alliteration is a literary device that involves the repetition of the same initial consonant sound in a series of words or phrases. It is often used in poetry, prose, and speech to create rhythm, enhance mood, or emphasize a particular idea. For example, phrases like "Peter Piper picked a peck of pickled peppers" illustrate alliteration through the repeated "p" sound. This technique can make language more memorable and engaging.