Pigs will scavenge and have been known to eat any kind of food, including dead insects, worms, tree bark, rotting carcasses, garbage, and even other pigs.