Ants do not usually eat vegetable plants, but they do like the vegetables that the plants produce. Tomatoes, Peas, Beans, Corn, Melons, and Pumpkins are some of the things ants like to eat. Check on your garden everyday and harvest you crops as soon as they are ready, or the ants will beat you to it!