Natural selection eliminates organisms with inappropriate structures and functions and determines which favorable structures will be passed from one generation to the next.