Dermatologists are medical doctors who specialize in the diagnosis and treatment of conditions that affect the skin, hair, and nails.