Boars are passive mobs.
Boars have the same behavior as pigs. They follow carrots and can be bred using carrot.
Some times a boar root for food, but it only get seeds.
Boars will drop raw porkchop when killed.