Have you ever wondered why a candle flame is yellow? And if you look carefully, you will see that the very bottom of the flame is blue! Why would that part of the flame be a different color? The best way to find out is to do some careful experimentation.
This experiment uses fire. Be very careful and safe.