Pharmacogenetics investigates the interaction between drugs and genes, examining how an individual's genetic profile (DNA) influences their response to medications.