Suppose the demand for good Z goes up when the price of good Y goes down. We can say that goods Z and Y are ?

Suppose the demand for good Z goes up when the price of good Y goes down. We can say that goods Z and Y are ?

A. perfect substitutes
B. complements
C. unrelated goods.
D. substitutes.