How do scientists determine the three-dimensional structure of molecules?

How do vector graphics contribute to the creation of logos and icons?
How do molecules interact with each other in chemical reactions?