Correct option is D
The characteristics of each animal:
(a) Cow: Domestic farm animal, herbivore
(b) Goat: Domestic farm animal, herbivore
(c) Sheep: Domestic farm animal, herbivore
(d) Dog: Domestic animal, but a carnivore and often a companion animal rather than a farm animal
The Cow, Goat, and Sheep are all farm animals and herbivores, while the Dog is primarily a carnivore and commonly kept as a pet.
The odd one is Dog.
Correct option: (d) Dog