This can be proved with help of Miller and Urey experiment:
They took a mixture of ammonia, hydrogen sulfide and and methane and water and provided it a temp. of just below 100 degree Celsius and exposed it to 25000 V electric sparks to resemble the lightning. After 8-10 days 15% of carbon from methane had been converted into organic compounds of sugars, organic acids etc.These had self-duplicating power.
So basically life came from inanimate matter.