What do you mean by a flame?
A flame is a region where the combustion of gaseous substances takes place. All the gases which undergo combustion produce flame.
What do you mean by a substance?