UVB protection in glasses blocks ultraviolet rays with a wavelength of 280-315 nm, which are the main cause of skin burns and can damage the eye's cornea. Prolonged exposure to UVB radiation can contribute to cataracts. Good quality sunglasses or glasses with a UVB filter provide high protection against these harmful effects.