The active ingredients in Papaver somniferum are alkaloids, including morphine, codeine, thebaine, and papaverine.