What does a hood ventilation fan do when a fire is detected? And why?

On detection of fire, the fire system initiates the hood fan shutdown. This is to minimize the presence of air the hood for releasing the extinguisher.