With this mod, Villagers and Illagers have a chance of dropping Ill Souls when they die.
If you combine an Ill Soul with Glowstone Dust via crafting, you get a Pure Soul.
If you Right Click a Carved Pumpkin with a Pure Soul the pumpkin turns into a Villager.