What is the name of the branch of medicine that focuses on eyesight

Optometry is a health care profession which involves examining the eyes and applicable visual systems for defects or abnormalities as well as the medical diagnosis and management of eye disease.

Traditionally, the field of optometry began with the primary focus of correcting refractive error through the use of spectacles.

More at Wikipedia