An alkaloid, C7H8N4O2, structurally related to caffeine. It is found in small quantities in tea and larger quantities in the cacao tree, hence its presence in cocoa and chocolate. Like theophylline it is used in treating certain respiratory conditions. Note that the compound contains no bromine. The name comes from the name of the cacao tree, Theobroma cacao. See also methylxanthines.