circuit explanation for detecting different gases by mq2 with raspberry pi
You can't differentiate between gases, if that's what you're asking. It has a single analog output, all it tells you is that some amount of some gas is present.

The datasheet has a nice little chart which shows the variation in resistance due to a variety of gases.