 Some species , such as electric eels , can produce powerful electric currents , strong enough to stun prey . Other fish , such as <unk> , generate weak varying electric fields to detect their prey ; they swim with straight backs to avoid distorting their electric fields . These currents are produced by modified muscle or nerve cells . 
