In epidemiology, sensitivity and specificity are crucial metrics used to evaluate the performance of a diagnostic test. Sensitivity refers to the test's ability to correctly identify individuals who have the disease (true positives), while specificity refers to its ability to correctly identify individuals who do not have the disease (true negatives).