Molecular probes work by binding to specific biomarkers associated with cancer cells. These biomarkers can be proteins, nucleic acids, or other molecules unique to cancerous tissues. Once bound, the probes emit signals that can be detected through various imaging technologies such as fluorescence microscopy, PET scans, or MRI.