A dermatologist treats skin disorders ranging from cancer to sexually transmitted diseases to cosmetic defects.