Carpenter ants in Northern California, to be specific. Camponotus laevigatus, I believe.
When we were kids, my neighbor, Jake, found it quite entertaining to periodically remind everyone that the carpenter ants often found scampering along the beams of his family’s wood house smelled like grape jelly when you squished them. I can only offer my anecdotal testimony that it was indeed true, and assure you that I never encouraged said carnage.
The adults always offered the explanation that they must be feeding on the grape plants in Jake’s family’s garden, but I never bought that as an explantion. I admit that this was one question that I neglected to find a legitimate answer to in my susequent years of studying Biology and Zoology.
So thanks, Cecil, for clearing up a lingering mystery from my childhood.