Dermatologist diagnose and treat diseases relating to the skin, hair, and nails. They may perform both medical and dermatological surgery functions.