Answer & Explanation
Alliteration is an example of Consonance. Consonance is the repetition of consonant sounds in words that are close to one another in a piece of text.
Example is "Peter Piper picked a peck of pickled peppers."
Assonance is the repetition of vowel sounds, sometimes creating end rhymes.