Basic
Chemistry of Life (here)
Digestion
C6H12O6 + 6O2 ® 6CO2 + 6H2O + E
Glucose + Oxygen YIELDS Carbon Dioxide + Water + Energy
Photosynthesis
6CO2 + 6H2O + E ® C6H12O6 + 6O2
Carbon Dioxide + Water +
Energy YIELDS Glucose + Oxygen
From H,C,N,O (plus some
trace amounts of heavier elements like P and Fe) are built nucleic acids, proteins, carbohydrates, and lipids, which can do the chemistry needed for both metabolism and evolution.