It is nothing but a collection of pigmented cells. The concentration of melanocytes (color cells) gives the dark appearance. They are usually harmless but in some cases may develop into cancer.
Depending on their location, size, depth, and color the dermatologist uses different techniques like laser or pulsed light therapy, or surgical excision.
These are skin growths caused by virus infections. These are recurrent and commonly seen on hands, feet, and face. There are multiple ways of treating warts, liquid nitrogen freezing, electrical stimulation, surgery, and laser therapy.
For both of the above, your dermatologist will guide you best and both are minor procedures.