So, let's talk about these alliances that played such a big role in the lead-up to the war. Essentially, European countries had formed two main alliances: the Triple Entente (France, Britain, and Russia) and the Triple Alliance (Germany, Austria-Hungary, and Italy). It's kind of like when you're playing a game with your friends, and you form teams, but in this case, the teams were made up of entire countries, and the stakes were much higher.
When the Archduke was assassinated, Austria-Hungary declared war on Serbia, which was like a domino effect, causing other countries to declare war on each other. It's a bit like when you're at a party and someone spills a drink, and then everyone starts arguing over who's going to clean it up, but instead of a party, it was a global conflict that would go on to claim millions of lives.