Coffee contains caffeine, so it can help you feel more alert and focused for a short time. However, too much caffeine can cause sleep problems, headaches, shakiness, or a fast heartbeat. For teenagers, it’s better to limit caffeine and not depend on coffee for studying. Good sleep, proper meals, and enough water are better for concentration.