Are bears related to pigs?
No more than people are related to bears or pigs.
Bears, pigs, and people all have omnivorous diets. They all have broad “bunodont” cheek teeth to crush a variety of foods. They all have large bodies and the ability to store a lot of fat.
Bears and pigs look kind of round from behind. They have slightly similar noses. Both are thought to be among the more intelligent mammals. Both like to roll in mud or water when it is hot. Males and females of both are called boars and sows.
But they are not related.