Peccaries are omnivores and will eat insects, grubs, and occasionally small animals, although their preferred foods consist of roots, grasses, seeds, fruit, and cacti—particularly prickly pear. Pigs and peccaries can be differentiated by the shape of the canine tooth, or tusk. In European pigs, the tusk is long and curves around on itself, whereas in peccaries, the tusk is short and straight. The jaws and tusks of peccaries are adapted for crushing hard seeds and slicing into plant roots, and they also use their tusks for defending against predators. The dental formula for peccaries is: