haha, you guys are making everything sound so simple. Sorry I didn't explain it in great detail....
The earth started out with CO, CO2, H2, N2, S, and HCl, but no O2. As the earth cooled, the gases condensed and formed water and minerals. UV radiation provided energy to form organic compounds out of inorganic compounds. Complex molecules such as acetic acid, formaldehyde, and amino acids formed... the basic building blocks of life and simple polymers.
Proteinoids are polypeptides that are dehydrated amino acids. Protobinonts are what developed into cells by being able to carry out chemical reactions across a boarder, cell membrane. Eventually they mutated into heterotrouphs that consumed organic material. As herterotrouphs increased, natural selection began to exist. As a result, autotrophs mutated into highly successful cells that could make their own food, aka plants. These new cells used light NRG and organic compounds to make food, and thus as an output, made oxygen. The UV rays and O2 reacted to make an ozone. Plants further developed from cyanobacteria. Humans eventually evolved also.. lol to make it simple. So in actuallity, all things were evolved from one type of prokaryotic cell, which was believed to be cyanobacteria?? I'm not positive about that.
Sorry if that isn't clear, and its mostly reviewed info I got from my sparknotes book. Tell me if I need to clear anything up.