The source of energy in the Miller-Urey experiment was a spark discharge, simulating lightning, which was used to provide energy to drive chemical reactions in their simulated early Earth atmosphere.
Miller and Urey's apparatus was designed to demonstrate that life on Earth might have originated from inorganic molecules and simple chemical reactions occurring in the early Earth's atmosphere. Their experiment produced a variety of organic molecules, including amino acids, which are the building blocks of life.
Methane, Ammonia, water, hydrogen, i think there was something else but i can't remember it then they gave it an electric shock to signify lightening and they did get amino acids
simulate the conditions of early Earth and test whether organic molecules could be formed from inorganic compounds. The experiment produced amino acids, which are the building blocks of proteins, demonstrating that the basic components of life could have originated from non-living matter under early Earth conditions.