Similar to jellyfish, they do not have a brain, but instead have a nerve net which allows them to respond to stimuli in their environment.