the short answer
Caffeine is the most evidence-backed legal performance aid in fitness. Around 3 to 6 mg per kg of bodyweight, taken roughly 30 to 60 minutes before a session, reliably improves endurance and makes a given effort feel easier. The benefit is real but modest, it shows up most in endurance work, and individual sensitivity varies a lot.
This article is general information for coaches, not medical or dietetic advice - individual needs vary, so any client with a health condition, medication, anxiety, heart concerns, or pregnancy should check with a doctor before using caffeine as a training aid.