What is onomatopoeia?

A. a comparison between two unlike objects using like or as
B. the repetition of the same letter or sound at the beginning of words that are close together
C. a repetition of similar sounding words occurring at the end of lines in poetry
D. a word that imitates the actual sound that it is describing

D. a word that imitates the actual sound that it is describing