Antioxidants are a thing. If you want to read more about antioxidants in coffee specifically, this is a good starting point. For more general information on antioxidants, Wikipedia is a good place to start.
Yashin et. al. (2013) Antioxidant and Antiradical Activity of Coffee https://doi.org/10.3390/antiox2040230
https://en.wikipedia.org/wiki/Antioxidant last accessed 6. february 2021