In the late 1960s, Hastings was studying bioluminescence in the marine bacteria Vibrio fischeri. He and his post-doc, Kenneth Nealson, discovered that bacteria could communicate by secreting a small peptide. This allowed V. fischeri to sense the concentration of their fellow bacteria and, when the density reached a critical level, turn on bioluminescence. Hastings named this process autoinduction, also known as quorum sensing. Quorum sensing has since been shown to play a critical role in bacterial behaviors such as toxin production and biofilm formation.