Q: The theory of evolution by what (and other processes) explains both the diversity of organisms and how populations of organisms change over time? A:
The answer is:
natural selection