Firefighters face increasing risks associated with hazardous vapors and flammable liquids in today's world. As a result of traffic accidents or industrial incidents, flammable liquids and hazardous vapors can be released. Firefighting foam is composed of small bubbles and has a lower density than most liquids and water that are flammable. Foam is produced when air is mixed with water and foam concentrate to create a blanketing and cooling agent. Foam can be mixed with water through the pump mechanisms of a fire apparatus in order to produce a specific amount of foam. If water is used for firefighting, a foam system may be activated to enhance its effectiveness and speed up the process.