Ants are considered omnivores for feeding on both plant and animal matter. Depending on the species and the time of year, they will be attracted to protein, sweet and greasy substances. Spilled foods, crumbs, and pet food left out in the open appeal to ants. Ants also need water to survive. Excess moisture in the kitchens or bathrooms from leaky pipes and faucets will often draw ants into the home. Thankfully, you can easily prevent ants by limiting the things they are attracted to in your home.