Pigmented lesions are skin abnormalities that appear due to an excess of melanin, the pigment responsible for skin color, and can range from benign moles to malignant melanomas. Accurate diagnosis and management are crucial, as some pigmented lesions may indicate skin cancer or other dermatological conditions.