Sol-gel made titanium dioxide nanostructured thin films as gas-sensing materials for the detection of oxygen