Caffeine is extracted from samples via high-temperature extraction. It exhibits a characteristic absorption peak at 274 nm. After the removal of interfering substances such as tea polyphenols, proteins, and pigments, the caffeine content can be quantitatively determined by monitoring the change in absorbance.