the answer is the first one: by producing random changes in an organism's genetic code
The ultimate source of energy for living things is the Sun. Plants and other photosynthetic organisms take the energy from sunlight to make glucose. Glucose is a simple sugar with the molecular formula C6H12O6. Glucose circulates in the blood of animals as blood sugar. It is made during photosynthesis from water and carbon dioxide, using energy from sunlight.
Chicken wing chicken wing hot dog and baloney chillin with my homies