Scientists use experiments to find out how things happen. By observing and collecting data, they can solve mysteries about how something, like a chemical reaction, occurred.
Crime solvers make observations too by gathering clues and data. They use their findings to solve how a crime occurred.
If you compare crimes with reactions, both crime solvers and scientists can figure out how something occurred without being present for the original actions that caused it.