During the battles, you have to destroy various enemy ships. When they get killed, you will get a random number of collector tokens, which can be used later for getting new ships in the game.