Glass is the material used in physical greenhouse structures to trap heat. It allows visible light to enter but blocks infrared radiation from escaping, similar to how greenhouse gases work in the atmosphere. This is why the atmospheric effect is called the 'greenhouse effect' - it's named after the glass structure used in gardening.