Some text from Minecraft Wiki used under Creative Commons Attribution-Share Alike License 3.0
|Health Points||100HP (50x )|
|Attack Strength||7HP (3.5x ) to 21HP (10.5x )|
|Drops||3-5 Iron Ingots , 0-2 Roses|
|Spawn||In Villages or built by a player|
Iron golems drop 3-5 iron ingots and 0-2 poppies on death, which makes players want to kill them. But killing iron golems decreases your popularity in a village by -5, and if your popularity level is below -15, the iron golems spawned in the village will see you as a threat and try to kill you. However, if you kill the iron golem using TNT or setting them on fire (by lava or flint and steel) they will not turn aggressive to you because of dying of natural causes.Thus, this is great way by slaying Iron golems to obtain iron ingots(or poppies).
Iron Golems will become aggressive against anything that attacks them or a Villager , except for the player who built them, and will only become unaggressive if they defeat the player or mob that attacked them, or if all players leave the game. Iron Golems will always stay near Villagers, and will attack any hostile mob that will not blow up on sight, but disadvantegely, will sometimes attack neutral or passive mobs as well.