Researchers used an insect flight simulator (pictured here) along with CRISPR gene editing and RNAi techniques to determine that dopamine is a key mediator of aversive learning in mosquitoes.
This picture shows a mosquito brain, highlighting the presence of dopamine in regions involved in the sense of smell. The purple areas indicate tyrosine hydroxylase, which is the precursor of dopamine.