The Ampullae of Lorenzini are specialized electroreceptor organs found in sharks and some other cartilaginous fishes. They allow sharks to detect electromagnetic pulses released by other organisms, which makes it easier for them to locate prey, especially those that may be hiding in the sand or other areas.
Therefore, the correct answer is:
3) detect electromagnetic pulses to detect prey.