This simulation allows students to visualize natural selection in action. As the environment changed, the opposite colored peppered now had an advantage in hiding from predators. This predator caused selection pressure changed the frequency of the light and dark colored moths over time.