I just want to know why does a balloon filled with heliam explodes when touched with fire?

I suspect you mean hydrogen gas, not helium. Hydrogen is flammable, helium is not.