A set of animals includes a dog, a cat, a parrot, a goldfish, and a hamster. Which of the following groups can be classified together based on their habitat?

Answer: A. Dog, Cat, Parrot
Dog, Cat, and Parrot are all typically found in terrestrial habitats, while Goldfish and Hamster are not.