Nature, Published online: 04 November 2026; doi:10.1038/d41586-026-03271-0

Males of a Drosophila species that thrives on a particular fruit need the smell of food to begin courtship. This environmental cue acts on defined mating circuits in the brain.