Dermatology is a branch of internal medicine that deals with diseases of the skin and skin adnexa (hair, hair, nails, and sweat glands), and a dermatologist is a physician who specializes in the diagnosis and treatment of diseases and cancers of these structures. Therefore, dermatology includes both medical and surgical aspects.