The story of spontaneous generation illustrates that science is capable of doing exactly what it is supposed to do: observe nature and eliminate theories that contradict observations. In this case, the theory that (for instance) flies form spontaneously out of decaying meat was successfully falsified.