An Oxygen Depletion Sensor (ODS) detects when oxygen levels in the room fall below a specified level and cause the pilot flame to lift away from the sensing probe. This activates the flame failure device (FFD), which cuts off the gas supply to the fire and renders the appliance safe.