Dinoflagellates have an interesting twist on this mechanism. When a predator of plankton is sensed through motion in the water, the dinoflagellate luminesces. This in turn attracts even larger predators which will consume the would-be predator of the dinoflagellate.