Scientists have used virtual reality and artificial intelligence algorithms to learn the details of chemical change.