Dentists diagnose and treat dental issues and diseases of the mouth, teeth, gums, and related areas. This involves examining patients' teeth and gums, taking X-rays, and identifying problems such as cavities, gum disease, or oral cancers.