This document provides an overview of natural selection analysis and methods for measuring natural selection through analyzing DNA sequences. It discusses three main types of natural selection - positive selection which favors beneficial mutations, negative selection which removes detrimental mutations, and balancing selection which maintains genetic variation. It then focuses on explaining the dN/dS ratio test, one of the most widely used methods for detecting natural selection. The dN/dS ratio compares the rate of non-synonymous substitutions that change the protein sequence to the rate of synonymous substitutions that do not change the protein sequence. Different dN/dS ratios can indicate if a sequence is experiencing neutral evolution, negative selection, or positive selection.