Careful experiments that measured the masses of gasses showed that the phlogiston theory was wrong. This led to the discovery of oxygen. However, some scientists continued to believe in phlogiston. They thought this explained the heat and light given off in combustion reactions. Today we see this as evidence of the transfer of energy to the surroundings.