Ophthalmology is a surgical subspecialty within medicine that deals with the diagnosis and treatment of eye disorders.