Flare (countermeasure)
A flare or decoy flare is an aerial infrared countermeasure used by a plane or helicopter to counter an infrared homing ("heat-seeking") surface-to-air missile or air-to-air missile. Flares are commonly composed of a pyrotechnic composition based on magnesium or another hot-burning metal, with burning temperature equal to or hotter than engine exhaust. The aim is to make the infrared-guided missile seek out the heat signature from the flare rather than the aircraft's engines.
Tactics
In contrast to radar-guided missiles, IR-guided missiles are very difficult to find as they approach aircraft. They do not emit detectable radar, and they are generally fired from a rear visual-aspect, directly toward the engines. In most cases, pilots have to rely on their wingmen to spot the missile's smoke trail and alert them. Since IR-guided missiles are inherently far shorter-legged in distance and altitude range than their radar-guided counterparts, good situational awareness of altitude and potential threats continues to be an effective defense. More advanced electro-optical systems can detect missile launches automatically from the distinct thermal emissions of a missile's rocket motor.