You're talking about the Death Flower plant? Their main purpose is to keep the Grim Reaper from taking your Sim when he dies. If you have a Death Flower in your Sim's inventory when he dies, he'll take it out and give it to Grim. Then he'll be restored to life.