Dermatoscopy is a non-invasive diagnostic technique used to examine skin lesions with the aid of a dermatoscope, allowing for enhanced visualization of subsurface skin structures. It is particularly useful in the early detection of melanoma and other skin cancers, improving diagnostic accuracy and patient outcomes.