Microbes could mine valuable elements from rocks on the moon or Mars

Recent experiments aboard the International Space Station have shown that some microbes can harvest valuable rare-earth elements from rocks, even when exposed to microgravity conditions. Microorganisms are already used on Earth to mine economically important elements from rocks, including rare earth elements, used in mobile phones and electronics.
It's unlikely to be economically viable to mine these elements in space and bring them back to Earth, according to Charles Cockell, a professor of astrobiology at the University of Edinburgh's School of Physics and Astronomy, who led the project.