Fire is a chemical reaction that gives off light and heat. Fire happens when a material rapidly oxidizes, or loses electrons, and releases a great amount of energy. Flames are only the portion of the fire that gives off visible light.