PLEASE IN NEED HELP ASAP

How did Pasteur’s experiment with the flasks help disprove the idea that living things could just appear or come from nonliving things like water and air?