One of the primary uses of dermatoscopy is in the early detection of skin cancer, including melanoma, basal cell carcinoma (BCC), and squamous cell carcinoma (SCC). By examining the microstructures of skin lesions that are not visible to the naked eye, healthcare professionals can identify suspicious patterns and colors associated with malignancy.