What am I?

I am used for light yet I am solid. Without me you would feel enclosed. I hate being touched especially with a lot of force. I like to be in buildings.