When a sentence repeats itself because the same sound appears each time, it is alliteration. However, repetition is the most common name for it. For example, "Peter Piper collected a peck of pickled jalapenos," which we categorise as alliteration, and the phrase "It's a mad, mad, mad world" is best classified as repetition.