A sensor that can save lives