They belong to the same class –Mammals
What are Mammals?
Mammals are a class of animals that includes a wide range of different species. They are a group of warm-blooded vertebrate animals. Most species fall into a group known as placentals. Placental mammals include animals such as rodents (mice, squirrels), Carnivora (cats, dogs, bears), primates (humans, monkeys). Other clever mammal groups include primates, elephants, whales, and dolphins. They are distinguished from other animals by having hair or fur and mammary glands for milk production in females.