Evolution is so cool.
Fishes have developed a multitude of ways to detect prey and avoid being detected by predators:
Sight, smell, taste, sound, vibration... electrical current.
Turns out even embryonic sharks have ways to sense if a possible predator is near.
Another argument to support shark conservation... We've only just begun to understand them. And clearly, there is still much to be learned.