In 1–2 sentences, analyze why an alliance system emerged in Europe in the early twentieth century

An alliance system emerged in Europe in the early twentieth century as countries sought to gain security and protect their interests in an increasingly tense and competitive political environment. The complex web of alliances also served to balance power dynamics and create potential deterrence against potential adversaries.