Every medication in your cabinet, every material in your phone's battery, and virtually every compound that makes modern life work started as a molecular guess, with scientists hypothesizing that a particular arrangement of atoms might do something useful—kill a bacterial infection, store electrical charge, or absorb sunlight efficiently.