The working principle of nanotech-based gas sensors often involves a change in electrical properties such as resistance or capacitance when gas molecules interact with the nanomaterial. For example, when a gas molecule adsorbs onto a carbon nanotube, it can change the electrical conductivity of the nanotube, which can then be measured and correlated with the concentration of the gas.