At the barracks, you train infantry, swordsmen, archers, spies, and macemen after they have been researched at the academy.
The barracks has 20 levels and 1 addition: Training. You can start to train your troops (infantry, swordsmen, archers, spies, macemen) from level one; you need resources to train troops.