Sunglasses are more than just a fashion accessory. They’re one of the best ways to protect your eyes from the sun’s glare and from the harmful ultraviolet (UV) rays that come with it.

Those rays can cause irreversible damage to your eyes, says Thomas L. Steinemann, M.D., a spokesman for the American Academy of Ophthalmology.

But all sunglasses are not created equal. To get the best protection, only some shades will do. Here, test your sun-protection knowledge, and learn what’s really best for your eyes.