The principle behind nucleic acid probes relies on the complementary base pairing between the probe and the target sequence. When a probe is introduced to a tissue sample, it binds to its complementary sequence if present. This binding can then be detected through various labeling techniques such as fluorescent tags or radioactive isotopes.