This map shows the Allies (green), the Central Powers (Orange), and the neutral countries (purple).
The main cause of WWI was the alliances throughout Europe. If these alliances hadn't been in place, it would have only been a small war between Austria-Hungary and Serbia. When Germany pledged their support for Austria-Hungary, they triggered a domino effect which caused Russia, France, Belgium, and Great Britain to become involved, forming the two sides, the Allies and the Central Powers.