The theory of evolution is a scientific explanation for the diversity of life on Earth and how living organisms change over time. It is primarily associated with Charles Darwin, who proposed the mechanism of **natural selection**, although the theory has since been expanded and refined through modern science. Here are the core ideas of the theory of evolution:

1. **Common Descent**: All living organisms share a common ancestor. Over billions of years, life has diversified into the vast array of species we see today through branching patterns of descent.

2. **Variation Within Populations**: Individuals within a species show variation in their traits (for example, size, color, or behavior). These variations arise from mutations in DNA, genetic recombination, and other processes.

3. **Natural Selection**: Some traits make individuals better suited to their environment, increasing their chances of survival and reproduction. Those individuals pass their advantageous traits to their offspring. Over time, beneficial traits become more common in the population, while less advantageous traits may disappear.

4. **Adaptation**: Through the process of natural selection, populations evolve adaptations—characteristics that help organisms survive and reproduce in their specific environments. For example, the long neck of a giraffe is an adaptation for feeding on tall trees.

5. **Descent with Modification**: As populations of organisms change over generations, they accumulate differences, eventually leading to the formation of new species. This is why species today often resemble one another in some ways but are distinct in others—they share a common ancestor but have diverged over time.

6. **Speciation**: When populations of a species become separated (for example, by geography or behavior), they may accumulate enough differences to become distinct species. This process is known as speciation.

7. **Evidence for Evolution**: The theory of evolution is supported by overwhelming evidence from multiple scientific fields, including:
   - **Fossil records** that show transitional forms and changes over time.
   - **Comparative anatomy** and homologous structures, which reveal similarities between species.
   - **Genetics**, demonstrating shared DNA sequences between organisms.
   - **Biogeography**, showing how species are distributed and adapted to their environments.
   - **Direct observation** of evolutionary changes in real-time, such as antibiotic resistance in bacteria.

Overall, the theory of evolution explains how all species are interconnected and have adapted to their environments over millions of years through common ancestry and gradual change. It is one of the foundational principles of biology and is supported by extensive scientific evidence.
