Apparently, using iron particles located in their heads and abdomens, they sense earths magnetic field for direction.
(iron particles; located; L:in their heads and abdomens)
iron particles
located
L:in their heads and abdomens