system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5: The dissolution of Yugoslavia.
gpt
Yugoslavia had major domestic problems in the 1990s. They had foreign debt, unemployment and inflation, which caused a turmoil. In addition to that, nationalism became dominant over communism. Yugoslavia was made up of six countries: Slovenia, Croatia, Serbia, Bosnia and Herzegovina, Macedonia and Montenegro.

Slovenia was the first to break apart, followed by Croatia, Albania, Bosnia and Herzegovina and Macedonia. The only two countries that made up Yugoslavia in 1993 were Serbia and Montenegro. However, the communist government of Serbia wanted to gain back those countries and began a war with Croatia.

Another conflict came to Yugoslavia as Bosnians declared independence. However, Serbs living in Bosnia wanted to build a greater Serbia and began an "ethnic cleansing", in which they drove out Bosnian Muslims from their homes. Finally, Bosnian Muslim government was surrounded by Bosnian Serbs. Americans wanted to end these conflicts and that resulted in Dayton Agreement, instituted in 1995, which created two self-governing groups in Bosnia - Bosnian Serb Republic and Muslim-Croat Federation. 

During this, Croatia took most of the territory controlled by Serbs, which resulted in massive exiles of Serbs from Croatia. Kosovo Army, made up of mostly Albanians, later began revolts against Serbian rule. NATO (National Atlantic Treaty Organization) began a series of air strikes in Yugoslavia in 1999. Finally, the ruler of Serbia Slobodan Milosevic lost a presidential election in 2000 and was eventually forced out of office by mass demonstrations. In 2003, Yugoslavia no longer existed.

It was just called Serbia and Montenegro. In 2006, Montenegro declared independence and the union was completely abolished.

Formal names of Yugoslavia:

1. Kingdom of Serbs, Croats and Slovenes (1918 - 1929)

2. Kingdom of Yugoslavia (1929 - 1941)

3. Socialist Federal Republic of Yugoslavia (1943 - 1991)

4. Federal Republic of Yugoslavia (1992 - 2003)

Countries that split apart from Yugoslavia:

1. Slovenia (June 25, 1991)

2. Croatia (June 25, 1991)

3. Macedonia (September 8, 1991)

4. Bosnia and Herzegovina (March 1, 1992)

Countries that split apart from Serbia:

1. Montenegro (June 3, 2006)

2. Kosovo (February 17, 2008)