https://academic.oup.com/ae/article/61/2/85/1756864
https://www.livescience.com/why-ants-smell-weird
However, the sense of smell in humans is far less developed, and there has been recent controversy over what, exactly, the odorous house ant smells like. This species belongs to a large group of ants whose members are thought to smell like blue cheese (Forney and Markovetz 1971) [link is direct 3.0 mb .pdf download from elsevier], yet numerous online sources report their odor as “rancid butter,” “cleaning solution,” or, most commonly, “rotten coconuts.”
Specifically, the house hippo ant.
*The actual factual paper was actually literally published in 2015, no cap.
At the same time, Penick had people rate what they thought the ant smelled like. Most people said blue cheese, but some thought it smelled like rotted coconut. So Penick rotted a coconut in his backyard and found a mold growing on it that, sure enough, is the same mold (Penicillium roqueforti) that’s used to produce blue cheese. Another mystery, solved.
So American house ants, rotten coconuts and blue cheese all smell the same. Life is weird.