Both the workers and the queen will eat a liquid by-product that the larvae produce when the food is fed to them. Baits are the most effective and safest way to kill ants but before you buy bait, you will want to see what the ants are eating. Most ants will eat sugar or protein based foods. Leave a little food out for the ants, sugar and protein based, so you can find out what they are eating.