Caffeine is a hard drug.
It’s powerful stimulating effect has a half life in your body of 14 hours. A lot of people use it very heavily every day and spend almost no time sober.
Caffeine doesn’t cause massive hangovers or prevent work from being done though, so people mostly give it a pass.