Figure 1. The molecular structure of caffeine. Caffeine belongs to the family of heterocyclic compounds known as purines. It has the systematic name 3,7-dihydro-1,3,7-trimethyl-1H-purine-2,6-dione; it is also known as 1,3,7-trimethylxanthine, and 1,3,7-trimethyl-2,6-dioxopurine.