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).
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.
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 have special armor, just like Horses and Wargs. 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: