Two independent accuracy metrics, each answering a completely different question — and a diagnostic device can excel at one while failing the other.
Every diagnostic device — a blood glucose meter, a pulse oximeter alarm threshold, an ELISA assay, an AI-based imaging classifier — eventually gets reduced to a yes/no call against ground truth: does the patient actually have the condition, and did the device say so? From that single 2×2 comparison, two structurally different metrics fall out. Sensitivity answers: of everyone who truly has the condition, what fraction did the device correctly flag? Specificity answers a different question entirely: of everyone who truly does not have the condition, what fraction did the device correctly clear? Both are measured on the same 0–100% scale and both sound like generic "accuracy," which is exactly why they get conflated — but a device can be excellent at one and mediocre at the other, and which one matters more depends entirely on the clinical cost of being wrong in each direction.
The reason a device can be simultaneously excellent at one metric and poor at the other is that the two numbers are never computed from the same patients. Sensitivity is derived entirely from the population that truly has the condition — it literally cannot be affected by how the device behaves on healthy patients, because healthy patients don't appear in its denominator (TP + FN) at all. Specificity is the mirror image, derived entirely from the population that truly does not have the condition (TN + FP), and is mathematically blind to how many true disease cases the device catches or misses. A device could, in principle, catch every single diseased patient (100% sensitivity) while also flagging every single healthy patient as positive (0% specificity) — that would be a device that always says "positive," which trivially never misses a true case but is clinically useless because it never rules anything out either.
It doesn't — and worse, neither sensitivity nor specificity alone tells you what a patient actually wants to know: given my positive test result, what is the actual probability I have the condition? That question is answered by positive predictive value (PPV), which depends not just on sensitivity and specificity but also on disease prevalence in the population being tested. A test with 95% sensitivity and 95% specificity screening a disease with 0.1% true prevalence will still generate far more false positives than true positives in absolute numbers, because the healthy population being screened is so much larger than the diseased one — even a small false-positive rate applied to a huge healthy population outnumbers the true positives found in a tiny diseased population. This is exactly why population-wide screening tests for rare conditions require extremely high specificity, not just high sensitivity, and why a device's clinical usefulness can never be judged from sensitivity or specificity in isolation.