While both tea and coffee plants produce caffeine, this trait evolved independently, meaning caffeine production developed genetically at least twice.