Ophthalmology is the field that deals with the diseases and surgery of the visual pathways, including the eye, hairs, and areas surrounding the eye, such as the lacrimal system and eyelids. Since ophthalmologists perform operations on eyes, they are considered to be both a surgical and medical specialty.