Later it was found that the sugar in nucleic acid can be ribose or deoxyribose ... Scientists still needed to figure out this molecule's structure to be sure, and to understand how it worked.