Pharmacogenetics involves studying genetic variations that lead to differences in individual drug responses. The goals are to optimize drug therapy and limit toxicity based on a person's genetic profile by choosing the best drug, dose, and duration for that individual. Genetic variations can occur as single nucleotide polymorphisms, which are single base pair differences between individuals. Polymorphisms in genes encoding drug-metabolizing enzymes, such as CYP2D6 and CYP2C9, are clinically significant as they can result in poor, intermediate, extensive, or ultrarapid metabolism of certain drugs. This can impact treatment outcomes and risk of adverse effects.