How did each Imperialism, Nationalism, Militarism, and Alliance System contribute to tensions and competition that led to World War I? Provide at least two sentences summary of all of it

Imperialism led to competition for colonies and resources, creating rivalries among European powers. Nationalism fueled a sense of superiority and competition among nations, leading to conflicts over territory and influence. Militarism resulted in an arms race, with nations building up their military capabilities to outdo their rivals. The alliance system further complicated matters, as alliances between nations created a web of interconnected obligations that could drag multiple countries into a conflict. These factors combined to create a volatile and tense atmosphere that eventually erupted into World War I.