What is the function of an interjection?

A. To tell a location or time
B. To join two ideas in a sentence
C. To describe a verb or a noun
D. To show emotion or feeling