Detailed Instructions: In this task, you are given a question and a context passage. You have to answer the question based on the given passage.
Problem:What does the IDF do?, Context: The Israel Defense Forces is the sole military wing of the Israeli security forces, and is headed by its Chief of General Staff, the Ramatkal, subordinate to the Cabinet. The IDF consist of the army, air force and navy. It was founded during the 1948 Arab–Israeli War by consolidating paramilitary organizations—chiefly the Haganah—that preceded the establishment of the state. The IDF also draws upon the resources of the Military Intelligence Directorate (Aman), which works with Mossad and Shabak. The Israel Defense Forces have been involved in several major wars and border conflicts in its short history, making it one of the most battle-trained armed forces in the world.
Solution:
The Israel Defense Forces is the sole military wing of the Israeli security forces