The fourth alternative is correct (D).
The act of writing requires a fundamental element that inspires the writer, this element is the purpose.
Purpose is associated with the purpose and meaning of a literary production, the author of a play uses his literary sensibility to write something that has meaning, something that he believes, that is, something that has a purpose.