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