Sunglasses are a great fashion accessory, but their most important job is to protect your eyes from the sun’s ultraviolet (UV) rays.