a mineral is used for geology