Sunglasses are mainly used to protect your eyes from sunlight and UV rays, while Eyeglasses are designed to correct vision problems such as near-sightedness, far-sightedness, or astigmatism.