What is tone?

A. a comparison between two otherwise unlike people, objects, or places
B. the time and place in which a story takes place
C. a type of figurative language in which a non-human object is given human qualities
D. the author's attitude toward the subject

D. the author's attitude toward the subject