The lateral line system is a sensory organ in fish and some amphibians that detects water movements and vibrations, allowing them to navigate, hunt, and avoid predators. It consists of mechanoreceptors called neuromasts, which are distributed along the sides of the body and head, sensitive to changes in water pressure and flow.