The molecules of life can be classified into 5 groups
Water
Lipids (Fats and Oils)
Carbohydrates (sugar, starch, fiber)
Proteins - these are the machines of life (amino acids)
Nucleotides (RNA and DNA)
Have a look at the structure of example molecules in each category - do they all contain Carbon, Oxygen and Hydrogen??
It is most likely that molecules similar to biological molecules were created in the warm sea water next to the Geothermal Vents
Here formed long chain hydrocarbons
Here also formed short CHO compounds Acetic Acid and Pyruvic Acid
Pyruvic Acid has the chemical Formula: C3H4O3
Its formula can also be written as: CH3COCOOH
Its base is Pyruvate and has the formula: CH3COCOO−
This formula ties together Carbon, Oxygen and Hydrogen.
Pyruvate can be broken down further into Water and Carbon dioxide
Pyruvate can also be added to, and used as a base molecule to build more complex structures such as carbohydrates, lipids and amino acids
Acetic Acid has the chemical formula: C2H4O2
Acetic Acid is also known as Ethanoic Acid or .... Vinegar
Acetic Acid's formula can also be written as: CH3COOH
These formula tie together Carbon, Oxygen and Hydrogen
Acetic Acid is another molecule from which more complex molecules can be made from
What follows are a couple of YouTube clips introducing organic chemistry and biological molecules. Watch them if you like. They are a really good introduction to the fundamentals of Biochemistry. But definitely watch the one above on Chemical Evolution
Also below is an academic journal article on the origins of life. Its just a good overview for the theories for how life started. It is a hard read, so I'd only suggest reading the abstract - the first paragraph :-)