Interestingly, many plant toxins have been harnessed for their beneficial effects in medicine. For instance, the cardiac glycosides from foxglove (Digitalis purpurea) have been used to treat heart conditions. Similarly, the alkaloid morphine, derived from the opium poppy (Papaver somniferum), is a powerful analgesic used in pain management.