gland near the base of the neck, 1690s, Modern Latin, from Greek thymos "a warty excrescence," used of the gland by Galen, literally "thyme," probably so called because of a fancied resemblance to a bud of thyme (see thyme). Related: Thymic.
word-forming element in chemistry, often interchangeable with -in (2), though modern use distinguishes them; early 19c., from French -ine, the suffix commonly used to form words for derived substances, hence its extended use in chemistry. It was applied unsystematically at first (as in aniline), but now has more restricted use.
The French suffix is from Latin -ina, fem. form of -inus, suffix used to form adjectives from nouns, and thus is identical with -ine (1).
Others are reading
<a href="https://www.etymonline.com/word/thymine">Etymology of thymine by etymonline</a>
Harper, D. (n.d.). Etymology of thymine. Online Etymology Dictionary. Retrieved $(datetime), from https://www.etymonline.com/word/thymine