Glasses that automatically darken in response to sunlight are called photochromic glasses or photochromic lenses .
These lenses have a special treatment that reacts to UV rays, darkening when exposed to intense sunlight and returning to transparency in low light conditions.
Photochromic lenses offer the advantage of automatically adapting to changes in brightness, improving visual comfort and protecting the eyes from UV rays without the need to change glasses.