Fire can be controlled or put out by taking away one of the three things required for burning.The first way is to take away the fuel. If the fire has no fuel to feed on, no burning can take place.The second way is to prevent oxygen from reaching it. Small fires can be put out with a damp blanket or a sack. This stops oxygen from reaching the burning material. Sometimes carbon dioxide is used for extinguishing fire.
The third way of putting out a fire is to remove the heat. If the temperature can be brought down below the flash point, the fuel stops burning. Blowing on a burning matchstick or a candle removes the hot air around the flame, bringing down its temperature below the flash point. Sometimes water is sprayed on a fire. It absorbs heat from the burning fuel and lowers the temperature. It also cuts off the supply of oxygen, and therefore, fire is extinguished.