Studies have shown that soy products, including tofu and tempeh, contain compounds called phytoestrogens, particularly isoflavones. Isoflavones have been studied for their potential anticancer effects. Some research suggests that isoflavones can reduce the risk of breast cancer and prostate cancer by acting as weak estrogens and modulating hormone activity.