Alliteration is a literary device characterized by the repetition of the initial consonant sounds in a series of words. It is often used in poetry and prose to create rhythm, enhance mood, or emphasize particular phrases. For example, in the phrase "Peter Piper picked a peck of pickled peppers," the repetition of the "p" sound is an example of alliteration. This technique can make language more memorable and engaging.