Original: The MiG-29, along with the Sukhoi Su-27, were developed to counter new American fighters such as the McDonnell Douglas F-15 Eagle, and the General Dynamics F-16 Fighting Falcon.
Simplified: It was made by the Soviet Union during the Cold War so it could fight new American fighters like the F-16 Fighting Falcon and F\/A -18 Hornet.