The different ways to extinguish fire are:
Cut of supply of oxygen
Limit the supply of fuel
Reduce heat from the surroundings
The fire triangle is a graphic representation of the necessary elements needed to start a fire. The three-sided fire triangle shows that oxygen, heat and fuel in the proper proportions are necessary to create a fire.
So to extinguish the fire, at least one of the three needs to be removed.