They’re microscopic miners. Some species of aquatic bacteria draw in dissolved iron from their watery environment and store it in specialized compartments called magnetosomes. They use its magnetic properties to navigate, sort of like ancient mariners using a lodestone to keep their bearings.
Click here for original story, Can microbes mine for metals?
Source: Phys.org