In glass jar B the candle remains lighted for a longer time as it contains oxygen gas which helps in the combustion of candle but this candle puts off in glass jar A with carbon dioxide gas as it does not help in combustion, so the candle of jar A will flicker out.