According to the theory of spontaneous generation,
For a long time, it was believed that life came out of decaying and rotting matter like straw, mud, etc. This was the theory of spontaneous generation. It was disproved experimentally by scientists like Francisco Redi, Spallanzani and Louis Pasteur.