Which is the best definition of the word "tone"?

A. The reason an author writes a text
B. Words that describe characters' emotions
C. Vivid language that describes sensory experience
D. The author's attitude toward the subject matter and audience