The short answer is no. At a comprehensive eye examination, your ophthalmologist, which is a medical eye doctor, evaluates the health of your eyes, looking for eye manifestations of conditions like cataracts, macular degeneration, or systemic diseases such as diabetes and high blood pressure. He or she should evaluate your vision, check how well your eyes move and if they are aligned correctly, check your side (peripheral) vision, the loss of which is easy to miss in everyday life but is a symptom of several eye conditions, including glaucoma.
Your doctor should check the pressure inside your eye, look at your pupils to see if they react to light properly, inspect your corneas, and peer into the back of your eye to evaluate the optic nerve and retina at a comprehensive eye examination.
Each part of the exam evaluates a different part of your eye. Eye exams are important for ensuring both your eye health and your overall health. Buying a new pair of glasses may or may not be part of this process.