Both of them are linked to decrease the risk of any chronic disease. For example, green tea contains polyphenols and catechins, which decrease the risk of cancer, diabetes, and heart disease.
Similarly, coffee reduces the risk of diseases – type 2 Diabetes, Heart diseases, Alzheimer’s, Parkinson’s, etc. But remember, excess intake of caffeine can lead to insomnia and anxiety. So, it’s better to limit coffee to 400mg a day.