Lights and Glass

I've always how we know that glass is glass and not just air.