Answer:
D.
Step-by-step explanation:
It's the only one that matches in gender, number and meaning with the question.
In answer A, zapatillas is plural, so it doesn't fits with the "la" in the question.
In answer B, linterna is a feminine noun, so it doesn't fits with the "el". Also, it doesn't fits the meaning, as bringing a flashlight has nothing to do with not being cold at night.
In C, the answers don't match in number or meaning with the question.