The lateral line allows fish such as sardines to sense vibrations in the water and change directions in synchrony.