Option D is the correct answer.
"When I go to the grocery store, I like to buy fresh fruit."
"When I go to the grocery store" is an adjective clause modifying the independent clause "I like to buy fresh fruit."
The sentence containing an adjective clause is A: 'The movie that we rented from the vending machine is a new release.' The clause 'that we rented from the vending machine' modifies the noun 'movie.' An adjective clause provides more detail about a noun or pronoun in the sentence.
;