Context: Flares can also be used by the military to mark positions, usually for targeting, but laser-guided and GPS weapons have eliminated this need for the most part.

Question: What can be used by military for targeting?
Answer: Flares

Question: What has eliminated the need for flares on a battlefield?
Answer: laser-guided and GPS weapons