Original: It was a socialist state and a federation made up of six socialist republics: Bosnia and Herzegovina, Croatia, Macedonia, Montenegro, Serbia, and Slovenia.
Simplified: It was a socialist state and a federation made up of Bosnia and Herzegovina, Croatia, Macedonia, Montenegro, Serbia, and Slovenia.