Using the principle of selective photothermolysis, light-based treatment targets different chromophores in the skin. Chromophores selectively absorb the laser or light energy as heat and yield the desired response. These optimal wavelengths of light clear pigmented lesions by targeting melanin. The damaged pigmented lesions are then cleared by the body. They undergo a mild desquamation and slough off, removing the appearance of the lesion from the skin.