How does natural selection contribute to the formation of new traits and characteristics in species over time?