How could scientists produce accurate chemical structures before they could capture images of molecules?
They ran chemical reactions on the molecule and identified the fragments.  Then like a jigsaw puzzle, using additional information derived from other chemical reactions, they pieced the molecule back together.  Some Nobel prizes were awarded for such structure determinations.