Why was North Africa a key location for the British to defend?

1. The Allies needed to maintain shipping lanes through Egypt.
2. The Allies needed to protect the Cape of Good Hope from invasion.
3. The Axis powers wanted to gain control of oil fields in Iraq.
4. The Axis wanted to protect the cotton production in North Africa.

5. North Africa was strategically located for potential attacks on Allied-controlled territories in the Middle East and Mediterranean.