Why is history a sweet subject?
Answer: Because it has many dates.
Explanation: This joke cleverly uses the double meaning of the word "dates." In the context of history, "dates" refer to historical events, but the punchline playfully suggests that history is sweet because it is filled with chronological dates.