The idea
Classification groups organisms using shared, informative characteristics. A single superficial resemblance can hide important differences.
Why do biologists not classify whales as fish just because they live in water?
Whales have characteristics of mammals, including breathing with lungs and feeding milk to their young. Habitat alone is a poor way to determine relatedness.