Natural selection is a driving force which causes an organism to change over time. A single organism does not control its genes which are inherited from its parents and no organism is perfectly adapted to its environment. But the organism is subjected to external forces through changes to its environment.
There are any number of these forces, they include

species competition,

sexual selection,

climate change,

predation,

and disease.
If the organism is to survive then its genes must change to ensure the organism adapts to any change.
Nature selects for those genes which are best fitted for the organism to survive. Thus, natural selection is constantly influencing the evolution of the species.
By contrast it has been seen that genetic drift is a random process the results of which can be advantageous or detrimental to the organism. Natural selection by contrast is not random but is driven by changes to the environment.
Likewise gene flow tends to keep the alleles in a population in an homogenized state. Natural selection always increases genetic variation.
There is genetic variability within each gene pool which causes each individual to be sightly different from the rest. These slight variations can lead to an improved performance by which the individual reproduces. This in turn allows the individual to create more of the genetic variations which helped it to survive - a positive feedback. Thus the offspring will further benefit from the genetic variations which allowed its parents to succeed. Over time, the frequency of the more successful organisms will increase.
Thus
natural selection can be defined as the reproductive success of classes of genetic variants in the gene pool.
Any of the organisms without these genetic variants will not reproduce as much and so in the long run will be less successful and will go extinct. Nature then is constantly exerting a selective force on the different genetic combinations that try to reproduce, and in this way, natural selection is the major driving force of evolution.
How is it that a particular organism within the gene pool is more successful than its neighbours ?
DNA does not always replicate perfectly in the replication process; mistakes occur which result in
mutations. The new variety of gene so produced -
the allele - can be beneficial to the organism making it fitter to survive any change to its environment. Because each single organism is genetically unique there is no way of predicting when or where on the genome a mutation will take place. Nature only selects those mutations which are beneficial.
Types of Natural Selection
Natural Selection can act on any trait which is heritable. The trait can normally be observed in the phenotype: examples are a colour, length of leg or wing, height etc.
Natural Selection tends to do one of three things within the population regardless of the trait:
it can:

keep the trait the same -
stabilizing selection

move the trait in one direction -
directional selection

select for extreme values of the trait -
disruptive selection.
The distribution of a trait within a population can be shown as a standard bell curve.
Here it is shown that about 68% of the population lies within a ⅓ of the width, and 95% of the population within ⅔ of the width.
The area underneath the curve represents the total number of individuals carrying the said trait.