Monitoring toxic gases in the atmosphere for hygiene and pollution control