Bears and dogs are in the same order, which is Carnivora; however, the two are still found in different families. Dogs belong to the Canidae family. Bears belong to the Ursidae family, and this means that they are different species. Their mutual order as Carnivora includes animals that obtain nourishment from a diet that's mainly or exclusively made up of meat, regardless of whether it's won through production or scavenging.
At some point, carnivores split into the distinct suborders: cat-like animals and dog-like animals. The carnivores that divided into dog-like forms were categorized into the suborder classification Feliformia and bears, with their long snouts and non-retractable claws, ended up grouped within the Caniformia suborder along with dog-like animals.