The definition of competition is: two organisms competing for a limited resource.
In other words, they need the same thing, but they need to compete to get it, as there is a limited amount of it in the world.
Because of this, the answer is D.
A is called Mutualism,
B is called Parasitism,
C is called Commenalism
D is called Competition
:)