Dog-like carnivores and some primate species may have a magnetic compass similar to that of birds.