Cancer is a crucial global health problem, and prevention is an important strategy to reduce the burden of the disease. Daily diet is the key modifiable risk factor for cancer, and an increasing body of evidence suggests that specific nutrients in foods may have a preventive effect against cancer. This review summarizes the current evidence on the role of nutrients from foods in cancer intervention. It discusses the potential mechanisms of action of various dietary components, including phytochemicals, vitamins, minerals, and fiber. The findings of epidemiological and clinical studies on their association with cancer risk are highlighted. The foods are rich in bioactive compounds such as carotenoids, flavonoids, and ω-3 fatty acids, which have been proven to have anticancer properties. The effects of steady-state delivery and chemical modification of these food’s bioactive components on anticancer and intervention are summarized. Future research should focus on identifying the specific bioactive compounds in foods responsible for their intervention effects and exploring the potential synergistic effects of combining different nutrients in foods. Dietary interventions that incorporate multiple nutrients and whole foods may hold promise for reducing the risk of cancer and improving overall health.