The turrets destroy enemies coming from the core. Enemies drop fragments when killed. You can pick those up to buy more turrets. Sorry if it wasn't very clear!