Tomatoes are an excellent source of lycopene, a type of carotene. Lycopene can help immune function and has been shown to prevent some types of cancer. Tomatoes are also rich in vitamin C, one of the top immune boosting nutrients.According to a study published in the Journal of Agricultural and Food Chemistry, tomatoes release more lycopene (a cancer-fighting antioxidant) when cooked.