Ophthalmology is the medical specialty dedicated to the study and treatment of diseases and refractive errors presented by the eyes.