The compound is called psoralen, a natural component found in foods such as figs and celery, and researchers have long understood that it that works by disrupting DNA replication and causing cell death when activated by an energy source such as UV light.