When zinc reacts with dilute solution of strong acid (like hydrochloric acid), it forms salt and hydrogen gas is evolved which is used in hydrogenation of oil.
Zn+2HCldil. hydrochloric acid⟶ZnCl2Zinc chloride+H2↑
To test the presence of H2 gas when a burning splinter is brought near the mouth of the test tube, the gas burns with a pop sound.