Natural selection also acts on populations, not just on individuals. Individuals with traits that are beneficial to their survival and reproduction in their environment are more likely to survive and produce offspring, leading to the gradual increase of those traits in the population over time.