Natural selection is a process whereby organisms better adapted to their environment tend to survive and produce more offspring. There are three main types of natural selection: directional selection favors one extreme of a trait, disruptive selection favors both extremes of a trait, and stabilizing selection favors intermediate forms of a trait. Examples of natural selection in action include the evolution of different beak shapes in Galapagos finches and the increase of melanism in moths due to pollution. Sexual selection is a form of natural selection resulting from competition or choice of mates.