Espresso is a great way to get a concentrated dose of caffeine, which has improved concentration on numerous occasions. Tiredness makes it easier for the mind to wander or get stuck in a rut of unproductive thought patterns and patterns.