Complex sentence: Between the Wars the barracks were the local infantry training centre and during the Second World War the barracks became a Prisoner of war camp.
Split into simpler sentences: Between the Wars the barracks were the local infantry training centre. During the Second World War the barracks were a Prisoner of War camp.