Question: are ants only attracted to sugar?
Answer: Although ants are attracted to sugar, that's not the only thing that attracts them. Ants are like us in many ways (they have societies, they wage wars, they farm), including the fact that they're omnivores.