Guard

Guards have the same function as Iron Golems however they protect them from Orcs aswell as Zombies. Also you cannot build them, as villagers will sometimes turn into a guard until there is enough to protect the Village. They have 22 health and, since they wear armor, 6 defense. They can carry iron swords or crossbows, both of which can be enchanted.

Day
During the daytime, Guards will talk to villagers and move around the Village protecting them from any zombies that come out of caves which are currently burning to finish them off. They may fight with golems if they anger them, but neither will kill each other since they stop it one has 4 health or less.

Night
Guards will protect the village from ANY hostile mob including creepers, who will not explode and getting the villagers to houses. If all guards are killed no villagers change into a guard until day.