Yes, both infrared and X-ray waves can travel through glass, but their interactions with the glass can differ.
Infrared (IR) waves have longer wavelengths than visible light, and they can pass through most types of glass with little absorption or scattering. This is why you can use an infrared remote control to operate devices through glass windows or use thermal imaging cameras to see through glass.
X-ray waves, on the other hand, have much shorter wavelengths and higher energy than visible light or infrared waves. While X-rays can penetrate many materials, including some types of glass, they can be partially absorbed or scattered depending on the energy of the X-rays and the composition of the glass. Thicker or denser materials are generally more effective at absorbing or attenuating X-rays.
There are specialized types of glass, known as X-ray glass or leaded glass, which are designed to be more effective at blocking or attenuating X-ray radiation. These glasses contain added elements like lead or other heavy metals that help absorb and scatter X-rays, providing protection against their harmful effects.
In summary, while both infrared and X-ray waves can pass through glass, their interactions with the glass differ. Infrared waves generally pass through with little attenuation, while X-rays can be partially absorbed or scattered depending on the energy and the composition of the glass.