Final answer:
Glass is transparent to visible light and has varying degrees of transparency to infrared light, but it is usually not transparent to ultraviolet (UV) light.
Step-by-step explanation:
Glass is a versatile material that has varying degrees of transparency depending on the type of electromagnetic radiation. For visible light, which has an intermediate wavelength, glass is highly transparent, allowing it to pass through with little absorption or reflection.
This property makes it ideal for windows and optical lenses. Infrared light, which has a longer wavelength, can also pass through glass, but the level of transparency is lower compared to visible light, and some types of glass are specially treated to block or absorb infrared for thermal insulation purposes.
Conversely, glass is usually not transparent to ultraviolet (UV) light, which has a shorter wavelength, as most ordinary glass absorbs UV light to some extent. Therefore, the transparency of glass varies across the electromagnetic spectrum, with visible light being the most commonly transmitted.