Rocks are mineral aggregates that combine the traits of every trace mineral. Rock types can be distinguished by any particular arrangement of their chemical composition, mineralogy, grain size, texture, or other distinctive features.