Scientists have engineered a new type of glass using metal–organic frameworks (MOFs) that can efficiently trap CO₂, hydrogen, and capture water.