Answer
When hydrochloric acid reacts with active metal hydrogen gas will be evolved at the surface of the metal in the form of bubbles and thus formed gas is passed through soap and bring candle near the bubble formed. If the gas burns with a pop sound then it can be concluded that it is hydrogen.