C8H10N4O2 Or do you want it in a reaction problem?
Caffeine's chemical formula is C₈H₁₀N₄O₂, consisting of 8 carbon atoms, 10 hydrogen atoms, 4 nitrogen atoms, and 2 oxygen atoms. When dissolved in water, caffeine can act as a base by accepting a proton from water, illustrating a Brønsted-Lowry acid-base reaction. The balanced equation demonstrates caffeine's chemical behavior in solution.
;