The purpose of eyeglasses and contact lenses is to correct or improve the vision of people with nearsightedness ( myopia ), farsightedness (hyperopia), presbyopia, and astigmatism.