Dermatologists diagnose and treat diseases that affect skin, hair, and nails, providing medical and surgical treatments. Dermatologists can specialize in various areas, including pediatric dermatology, surgical dermatology dermatopathology, and dermatological immunology. Other areas of specialization that fall under the dermatology umbrella include immunodermatology, phototherapy, and cosmetic surgery.