Yesterday we introduced the lovely plant, Thurber's cotton, Gossypium thurberi.
While I was taking photographs of the plant, I noticed some ants.
Having some experience with cotton plants, I realized the ants were visiting some nectar-producing areas there as well. Nectaries outside the flower proper are called "extrafloral nectaries." See that dimpled area the ant is facing? That is an extrafloral nectary.
Many different plants produce nectar in various extrafloral nectaries and most of them attract ants and small wasps.
The most commonly-reported reason that plants have these structures is that the nectaries attract predators and parasites, which in turn attack the eggs and larvae of plant-feeding insects they encounter.
Have you ever seen ants visiting nectaries on plants? What kind of plant was it?