C. elegans has exactly 302 nerve cells in its whole body, and scientists had already mapped every connection between them.