Which description defines rhyme?

A:a pattern of stressed and unstressed syllables

B:the repetition of a letter

C:a comparison of two things

D:the repetition of an ending sound

D: the repetition of an ending sound