There are bacteria which use the magnetic field of the earth. Inside these bacteria are grains of magnetite. The bacteria are anaerobic, i.e. killed by oxygen. They use the magnetic field to sense "down" which is the direction away from oxygen and toward life. In the northern hemisphere these bacteria swim towards a south magnetic pole, in the southern hemisphere they swim toward north poles.