Biological classification
In spite of all the other differences between them, the fact that bats and whales both feed their young on milk is one of the features used to classify both as mammals, since it was inherited from a common ancestor.