Eating a diet rich in fruit and vegetables can reduce the risk of some cancers.