Caffeine is also a stimulant, so when consumed in moderation, it can improve alertness, focus, and physical performance, and it increases dopamine levels in the brain — enhancing mood and motivation. However, too much caffeine can cause side effects like jitteriness, anxiety, and difficulty sleeping.