A psychiatrist is a medical doctor who specializes in the diagnosis, treatment, and prevention of mental illnesses and disorders. They are trained in both the physical and psychological aspects of mental health.