D. When the writer needs to gain the sympathy of the audience
Anecdotal evidence can be effective in appealing to emotions and gaining sympathy, making it useful in situations where the writer aims to connect with the audience on a personal level. However, it's important to remember that anecdotal evidence should be used cautiously, as it is not a substitute for more rigorous evidence like facts and statistics, especially in scientific arguments.