Wild boars are a more aggressive type of pig that can be found alongside or replacing pigs in many biomes. They are also a very good mount and are extremely fast.
Boars are normally passive but will turn hostile if you try to attack them. Their drops are the same as pigs (raw pork chops and cooked pork chops if they die while on fire). They also unlike pigs drop gammon! Even if a dwarven boar rider unit is killed the boar will continue fighting until it dies!
Players are able to tame and ride boars. As of Beta 20 Boars must be tamed like horses (you can feed it any kind of horse food) and can afterwards be bred with carrots. Also any tamed boar will automatically fight orcs even without being attacked or mounted!
They can be good mounts early on in the game, because it is not always easy to find horses in certain biomes. Before that update taming was very similar to taming a Pig; you just place a saddle on a boar and you're good to go. Boars do not have special armor like Horses and Wargs, though they are able to float over water similarly to a Warg. You can hire Dwarf Warriors and Dwarf Axe-Throwers riding boars from a Dwarf Commander as they do not like horses. Otherwise, dwarf boar riders do not spawn naturally.
The One Wiki to Rule Them All has an article on: