It has a flame chamber inside its body. It inhales, then breathes out fire that is over 3,000 degrees Fahrenheit.
It stores some of the air it inhales in its internal flame pouch, which heats it to over 3,000 degrees Fahrenheit.