Probes are single-stranded DNA or RNA molecules, labeled radioactively or fluorescently, which hybridize to complementary sequences in target DNA during molecular diagnostics. This process ensures high specificity for the detection of genetic abnormalities.