Which of the following is an autotroph?

A. A consumer
B. A prey
C. A predator
D. A producer