They connect the radial canal to the ampullae in the water vascular system.
the ampullae of lorenzini is a sensory organ which allows sharks to "feel" the electromagnetic field of their prey.
The crista ampullaris is the sensory organ of rotation located in the semicircular canal of the inner ear. The function of the crista ampullaris is to sense angular acceleration and deceleration.
Electrical fields
The ampulla on a starfish is part of the water vascular system, and stores water and sends it to tiny tube feet on the ventral side of a starfish's arms. This process helps starfish move, as the water vascular system is the part of the starfish responsible for locomotion.
Ampullae of Lorenzini
The ampullae of Lorenzini are special sensing organs called electroreceptors, forming a network of jelly-filled canals. They are mostly discussed as being found in cartilaginous fishes (sharks, rays, and chimaeras); however, they are also reported to be found in Chondrostei such as Reedfish[1] and sturgeon.[2] Lungfish have also been reported to have them.[1] Teleosts have re-evolved a different type of electroreceptors.[2] They were first described by Stefano Lorenzini in 1678
Electrical signals
As a dilated portion of a canal or duct, it is the semicircular canal of the ear
it helps the shark by sending signals to its brain about what it smells
I belive your question refers to the «ampullae of Lorenzini».These ampullae of Lorenzini are sharks electroreceptor organs, and they are very efficient to detect and find prey, as well as a «biologic GPS device» sharks use for orientation, using the Earth magnetic fied.
the lemon shark is a bottom feeder that uses its Ampullae of Lorenzo to pick up the electrical pulses given out by possible prey