Sensor for fire and gas detect.

hello, I need a sensor that detects when anything is burning in a home or some stoved or heater is burning bad fuel.

I can buy a sensor that is valid for both purposes or I have to buy one for each type?

MQ-2 General combustible gas
MQ-3 Alcohol
MQ-4 Natural gas, Methane
MQ-5 LPG, Natural gas, Coal gas
MQ-6 LPG, Propane
MQ-7 Carbon Monoxide
MQ-8 Hydrogen
MQ-9 CO and Combustible gas
MQ306 LPG, Propane
MQ307 Carbon Monoxide
MQ303 Alcohol
MQ131 Ozone
MQ135 Air Quality Control (are suitable for detecting of NH3,NOx, alcohol, Benzene, smoke,CO2 ,etc.)
MQ136 Sulfureted Hydrogen (H2S)
MQ137 Ammonia (NH3)
MQ138 VOC (Mellow, Benzene, Aldehyde, Ketone, Ester )

Thanks.

The MQ gas sensors are not very accurate and they detect a number of gasses (you don't know which one it is detecting).
This is a start page for the MQ sensors: Arduino Playground - MQGasSensors
The best way to describe the sensors is : "The impedance of the sensor is lowered, if something is detected".

For the air quality it is possible to use them. When you look at the sensor value for a few weeks, you should be able to tell if the air quality is getting worse.

On the other hand, the sensors are very sensitive.
The MQ-2, MQ-7, MQ135 will change a lot when something is smoking.
You could use all three to start with.

A flame detector could be an infra-red flame detector. If you want something like that, you have to buy a reliable (and expensive) flame detector.

Properly placed smoke detectors are reliable. But they are ment to warn to get out of the house, not to prevent a fire.