within the magnetotactic bacteria, magnetite and greigite crystals are biosynthesized (biomineralized) within organelles called magnetosomes. these magnetosomes form chains within the bacterial cell and in doing so, provide the organism with a permanent magnetic dipole. the organism uses it for geomagnetic navigation, to align itself with the earth's geomagnetic field (magnetotaxis) and to reach the optimal position along vertical chemical gradients.