text: Mars is fundamentally an igneous planet. Rocks on the surface and in the crust consist predominantly of minerals that crystallize from magma. Most of our current knowledge about the mineral composition of Mars comes from spectroscopic data from orbiting spacecraft, in situ analyses of rocks and soils from six landing sites, and study of the Martian meteorites. Spectrometers currently in orbit include THEMIS (Mars Odyssey), OMEGA (Mars Express), and CRISM (Mars Reconnaissance Orbiter). The two Mars exploration rovers each carry an Alpha Particle X-ray Spectrometer (APXS), a thermal emission spectrometer (Mini-TES), and Mössbauer spectrometer to identify minerals on the surface.
  On October 17, 2012, the Curiosity rover on the planet Mars at "Rocknest" performed the first X-ray diffraction analysis of Martian soil. The results from the rover's CheMin analyzer revealed the presence of several minerals, including feldspar, pyroxenes and olivine, and suggested that the Martian soil in the sample was similar to the "weathered basaltic soils" of Hawaiian volcanoes.