Pigmented lesions are areas of the skin where there is a change in color due to the accumulation of pigment. These lesions can be benign or malignant, and their study requires a deep understanding of histological features. The primary pigment involved in these lesions is melanin, which is produced by melanocytes.