What is the main purpose of informational writing?

A To compare and contrast
B To present popular views on a topic
C To express opinions without evidence
D To inform readers about a topic using facts and details