Caffeine is a central nervous system stimulant that can improve alertness but may lead to insomnia, jitteriness, and increased heart rate when consumed in large quantities. For sensitive individuals or those with specific health conditions, even moderate amounts of caffeine can cause adverse effects. The caffeine content in tea varies, with black tea generally containing higher levels than green or white tea.