Caffeine structurally resembles the adenosine molecule, which is produced by the brain to generate a feeling of tiredness. Caffeine blocks off these molecules and binds to their receptors. This gives an individual a sense of increased alertness and energy. When adenosine receptors are blocked, the adrenal gland receives a cue to secrete adrenaline and, therefore, further enhancing alertness and energy.

https://recoverypartnernetwork.com/drug/stimulants/caffeine-addiction