Glass can filter out some wavelengths of light while transmitting other frequencies.