A research team has developed a small optical lens, only a few millimeters in size, whose refractive behavior changes in the presence of gas. This ‘intelligent’ behavior of the micro-lens is enabled by the hybrid glass material from which it is made. The molecular structure of the lens consists of a three-dimensional lattice with cavities that can accommodate gas molecules, thereby affecting the optical properties of the material.