The answer is Assonance. It is a similarity in the sounds of syllables or words that found either in the consonants or within the vowels. It has also a rhyme before or after in its words or syllables. Assonance often happens in verse than in writing text.
Example:
The sunshine by the shoreline.