Diet is a significant environmental factor that influences cancer risk. Consuming a diet rich in fruits, vegetables, and whole grains while limiting the intake of red and processed meats can reduce the risk of certain types of cancer. Additionally, maintaining a healthy weight, engaging in regular physical activity, and limiting alcohol consumption are important lifestyle modifications that can lower cancer risk.