Biogenesis describes the observation that existing organisms give rise to organisms. Historical spontaneous generation proposed that familiar organisms repeatedly appeared from nonliving material under ordinary conditions. Redi and Pasteur tested that proposal by controlling access by flies or airborne microbes. The origin of the first life under early-Earth conditions is a separate question.
Oparin and Haldane proposed that simple substances on early Earth could give rise to organic building blocks. The formation of such molecules is one step in a possible origin pathway. Combining molecules into larger structures, concentrating them, and achieving heritable replication require additional explanations.
A laboratory model used an electrical discharge as an energy source. Organic molecules, including amino acids, formed under the model conditions. The result supports the possibility of abiotic organic synthesis. The exact composition and conditions of early Earth involve independent geological evidence and uncertainty.