An ophthalmologist is a medical professional who specializes in the health of the eyes and the prevention, diagnosis, and treatment of eye diseases and disorders. They are trained to perform eye exams, prescribe medication, and perform surgery if necessary to maintain the health of the eyes.