How did life begin and why are living
things composed of particular molecules
We don’t have the answer to this question but we can
speculate.  It seems likely that simple organic molecules
formed from the earths primordial soup.  The atmosphere
may have been reducing (as opposed to oxidizing as it is
today).  Experiments carried out in the 1950s demonstrated
that when simple compounds, H2O NH3 CH4 and H2
were exposed to electric discharge for about a week many
more complex molecules formed, including some amino
acids (aspartic, glutamic, alanine and glycine).  The theory
continues that somehow these molecules polymerized
making more complex molecules which eventually were
enclosed in a membrane.  The critical step is the formation
of molecules that could use complementation to form
copies of themselves, thus allowing for inheritance.