Ophthalmology is a branch of medicine specializing in the anatomy, function and diseases of the eye.Ophthalmologist specially trained to provide the full spectrum of eye care, from prescribing glasses and contact lenses to complex and delicate eye surgery.